Add setup.cfg to support isort and coverage

This commit is contained in:
Jan Dittberner 2020-03-04 18:15:40 +01:00
parent 68f0834954
commit 8251954f65
1 changed files with 18 additions and 0 deletions

18
gvapgsql/setup.cfg Normal file
View File

@ -0,0 +1,18 @@
[coverage:run]
source = gvacommon,pgsqltasks
branch = True
omit = */tests/*.py,*/tests.py
relative_files = True
[coverage:report]
show_missing = True
[coverage:html]
directory = ../coverage-report
[isort]
multi_line_output = 3
line_length = 88
known_third_party = celery,psycopg2
include_trailing_comma = True
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER