mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
[ISSUE-3/4] Adds test container and tooling (#8)
* Adding black, isort, and flake8 to pytest * Applying black, flake8, and isort to codebase
This commit is contained in:
21
setup.cfg
Normal file
21
setup.cfg
Normal file
@@ -0,0 +1,21 @@
|
||||
[tool:pytest]
|
||||
addopts = -vv --black --isort --flake8
|
||||
|
||||
[flake8]
|
||||
max-line-length = 119
|
||||
ignore =
|
||||
# Ignore rules which contradicts black's formatting choices:
|
||||
* E501
|
||||
* W503
|
||||
* W504
|
||||
* E266
|
||||
exclude =
|
||||
# Exclude these files
|
||||
comic/rarfile.py
|
||||
|
||||
|
||||
[tool:isort]
|
||||
line_length = 119
|
||||
indent = ' '
|
||||
multi_line_output = 3
|
||||
include_trailing_comma = 1
|
||||
Reference in New Issue
Block a user