Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure new Toga projects pass Black #1548

Merged
merged 1 commit into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ jobs:
name: html-coverage-report-project
path: htmlcov

verify-templates:
name: Verify Templates
verify-projects:
name: Verify project
needs: unit-tests
uses: beeware/.github/.github/workflows/app-create-verify.yml@main
with:
Expand Down
1 change: 1 addition & 0 deletions changes/1548.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The Toga app source code for new projects now passes Black.
1 change: 0 additions & 1 deletion src/briefcase/bootstraps/toga.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def app_source(self):


class {{ cookiecutter.class_name }}(toga.App):

def startup(self):
"""Construct and show the Toga application.

Expand Down
2 changes: 0 additions & 2 deletions tests/commands/new/test_build_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def test_question_sequence_toga(new_command):


class {{ cookiecutter.class_name }}(toga.App):

def startup(self):
"""Construct and show the Toga application.

Expand Down Expand Up @@ -841,7 +840,6 @@ def test_question_sequence_with_no_user_input(new_command):


class {{ cookiecutter.class_name }}(toga.App):

def startup(self):
"""Construct and show the Toga application.

Expand Down