-
Notifications
You must be signed in to change notification settings - Fork 370
/
tox.ini
38 lines (31 loc) · 1.08 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[pytest]
addopts = --doctest-modules --cov --cov-report xml --cov-config=tox.ini --ignore=conda --ignore=env --ignore=.git --ignore=__pycache__ --ignore=plugins/gitolite/
# [pylint]
# this config has to go to .pylintrc at the moment
[autopep8]
max-line-length = 120
[flake8]
ignore = C901,E121,E123,E126,E203,E226,E24,E704,W503,W504,F401,E265,E275,F841
statistics = True
max-line-length = 120
exclude = conda/* build/* install/*
max-complexity = 10
[pydocstyle]
# https://www.pydocstyle.org/en/stable/
convention = numpy
add-ignore = D100, D101, D102, D103, D104, D105, D200, D201, D202, D204, D205, D207, D208, D209, D210, D214, D300, D400, D401, D403, D405, D406, D407, D409, D410, D411, D412
#
# Configuraion of test coverage
# For details see
# <https://coverage.readthedocs.io/en/latest/config.html> and
# <https://pytest-cov.readthedocs.io/en/latest/config.html>
#
[coverage:run]
branch = True
omit = conda/,plugins/gitolite/parsetab.py
# src/db/env.py,src/db/versions/* # define paths to omit
[coverage:report]
show_missing = True
skip_covered = True
[coverage:xml]
output = coverage.xml