Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[py]: Recipe for
black
; configure flake8
to work in tandem
- Loading branch information
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[flake8] | ||
exclude = .tox,docs/source/conf.py,*venv | ||
ignore = E501 | ||
# Disable this once black is applied throughout & line length is better handled. | ||
extend-ignore = E501, E203 | ||
# This does nothing for now as E501 is ignored. | ||
max-line-length = 120 | ||
|
||
[tool:pytest] | ||
addopts = -r=a | ||
addopts = -ra | ||
python_files = test_*.py *_tests.py | ||
testpaths = test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters