Add isort & coverage configs

This commit is contained in:
sonny 2020-12-28 09:32:53 +01:00
parent 312d872adc
commit e9f06f9da6
2 changed files with 19 additions and 0 deletions

9
.coveragerc Normal file
View file

@ -0,0 +1,9 @@
[run]
source = ./ip_listener/
omit =
**/tests/**
**/tests.py
**/__init__.py
[html]
directory = coverage

10
.isort.cfg Normal file
View file

@ -0,0 +1,10 @@
[settings]
include_trailing_comma = true
line_length = 88
multi_line_output = 3
skip = env/, venv/
default_section = THIRDPARTY
known_first_party = ip_listener
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
lines_between_types=1
lines_after_imports=2