Skip to content

Commit

Permalink
Add pytest/flake8/isort rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Bert JW Regeer committed Jan 22, 2018
1 parent ae049a0 commit 1a860d2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[tool:pytest]
python_files = test_*.py
testpaths =
tests

[flake8]
show-source = True
max-line-length = 80
ignore =
# E123: closing bracket does not match indentation of opening bracket's line
E123

[isort]
line_length = 80
multi_line_output=3
include_trailing_comma=1
use_parentheses=1
known_crunch=cr
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,CRUNCH,LOCALFOLDER
default_section=THIRDPARTY
not_skip = __init__.py
skip =
# We use tox for this project, so make sure to skip this directory
.tox

0 comments on commit 1a860d2

Please sign in to comment.