add settings for coverage and flake8

This commit is contained in:
Andreas Zweili 2021-11-06 19:35:16 +01:00
parent db79c0ae29
commit a60043a162
2 changed files with 14 additions and 0 deletions

8
.coveragec Normal file
View File

@ -0,0 +1,8 @@
[run]
omit =
*tests/*,
*__init__.py,
*venv/*
[tool:pytest]
addopts = --cov-report html

6
.flake8 Normal file
View File

@ -0,0 +1,6 @@
[flake8]
exclude =
*migrations*,
__init__.py,
*cache*,
venv/,