Skip to content

Commit a1a2308

Browse files
committed
Run flake8
1 parent 910e40a commit a1a2308

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.flake8

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[flake8]
22
max-line-length = 88
3+
ignore = E501
34
exclude =
45
env
56
.tox

.github/workflows/code_quality.yml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
toxenv:
2424
- isort
2525
- black
26+
- flake8
2627
steps:
2728
- uses: actions/checkout@v4
2829
- uses: actions/setup-python@v5

tests/unit/test_admin_index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_check_admin_index_app_missing(self):
6363
self.assertEqual(len(result), 1)
6464

6565
@override_settings(TEMPLATES=[{"OPTIONS": {"context_processors": []}}])
66-
def test_check_admin_index_context_process_present(self):
66+
def test_check_admin_index_context_process_not_present(self):
6767
result = check_admin_index_context_processor([])
6868
self.assertEqual(len(result), 0)
6969

0 commit comments

Comments
 (0)