Skip to content

Commit

Permalink
- move flake8/coverage settings into setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Apr 14, 2019
1 parent 28f88f0 commit e3ad0e4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .coveragerc

This file was deleted.

16 changes: 16 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,25 @@ ignore = N801,N802,N803,N805,N806,N812,E301,W504
exclude = bootstrap.py
max-complexity = 70
doctests = true
htmldir = parts/flake8

[bdist_wheel]
universal = 1

[zest.releaser]
create-wheel = yes

[coverage:run]
branch = True
source = src
omit =

[coverage:report]
fail_under = 69.5
ignore_errors = True
precision = 2
show_missing = False
sort = Name

[coverage:html]
directory = parts/coverage
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ deps =
flake8-html
flake8-debugger
commands =
flake8 --format=html --htmldir={toxinidir}/flake8 src tests setup.py {posargs}
flake8 --format=html src tests setup.py {posargs}

0 comments on commit e3ad0e4

Please sign in to comment.