Skip to content

Commit

Permalink
Ensure new Toga projects pass Black
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Nov 21, 2023
1 parent ccda123 commit 8291f82
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
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

0 comments on commit 8291f82

Please sign in to comment.