[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:
Kyle Harrison
2019-07-29 13:19:03 +01:00
committed by Ajurna
parent 03a80b2458
commit b4d1c4c2cb
27 changed files with 156 additions and 54 deletions

21
setup.cfg Normal file
View 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