Skip to content

Commit 995e288

Browse files
authored
Merge pull request #3683 from webkom/remove-print
2 parents fefac35 + 879e569 commit 995e288

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ exclude =
66
migrations,
77
wsgi.py,
88
docs/*
9+
per-file-ignores =
10+
lego/utils/management/commands/benchmark_registration.py: T20
911
extend-ignore =
1012
# W503: Line break before binary operator
1113
W503,
@@ -15,6 +17,6 @@ extend-ignore =
1517
C901,
1618
# B907: Implicit string concatenation found in a list
1719
B907
18-
select = B,C,E,F,W,T4,B9
20+
select = B,C,E,F,W,T2,T4,B9
1921
max-line-length = 100
2022
max-complexity = 18

lego/apps/users/tests/test_student_confirmation_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ def test_secclo_master(self, *args):
312312
self.assertEqual(
313313
self.user_without_student_confirmation.grade.id, self.grade_komtek_4.id
314314
)
315-
print(self.user_without_student_confirmation.abakus_groups.all())
316315
self.assertTrue(
317316
self.user_without_student_confirmation.abakus_groups.filter(
318317
pk=self.abakus_group.pk

poetry.lock

Lines changed: 16 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ isort = "5.12.0"
103103
flake8 = "6.0.0"
104104
flake8-bugbear = "23.3.23"
105105
flake8-comprehensions = "3.10.1"
106+
flake8-print = "^5.0.0"
106107

107108
[tool.poetry.group.docs.dependencies]
108109
sphinx = "6.2.1"

0 commit comments

Comments
 (0)