Skip to content

Commit

Permalink
Run flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Mar 8, 2024
1 parent 910e40a commit a1a2308
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[flake8]
max-line-length = 88
ignore = E501
exclude =
env
.tox
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
toxenv:
- isort
- black
- flake8
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_admin_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_check_admin_index_app_missing(self):
self.assertEqual(len(result), 1)

@override_settings(TEMPLATES=[{"OPTIONS": {"context_processors": []}}])
def test_check_admin_index_context_process_present(self):
def test_check_admin_index_context_process_not_present(self):
result = check_admin_index_context_processor([])
self.assertEqual(len(result), 0)

Expand Down

0 comments on commit a1a2308

Please sign in to comment.