mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
Clean Code: Python
Fix issues found by flake8-bugbear: * Unused loop variables * assert statements in non-test code * mixing test code with production code * mark one excessive test which takes ~10min to run as 'slow'
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
pytest
|
||||
flake8
|
||||
flake8-bugbear
|
||||
mypy
|
||||
|
||||
@@ -5,8 +5,14 @@
|
||||
# pip-compile ci-requirements.in
|
||||
#
|
||||
attrs==21.4.0
|
||||
# via pytest
|
||||
# via
|
||||
# flake8-bugbear
|
||||
# pytest
|
||||
flake8==4.0.1
|
||||
# via
|
||||
# -r ci-requirements.in
|
||||
# flake8-bugbear
|
||||
flake8-bugbear==22.1.11
|
||||
# via -r ci-requirements.in
|
||||
iniconfig==1.1.1
|
||||
# via pytest
|
||||
|
||||
Reference in New Issue
Block a user