summaryrefslogtreecommitdiff
path: root/setup.cfg
blob: 9a4c434a27565f593b59fecee907f47764980703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[metadata]
description_file = README.md

[flake8]
exclude = __init__.py
ignore = E265,E501,W605,W503,W504

[tool:pytest]
addopts =
    --showlocals --durations=20 --doctest-modules -ra --cov-report= --cov=ot
    --doctest-ignore-import-errors --junit-xml=junit-results.xml
    --ignore=docs --ignore=examples --ignore=notebooks

[pycodestyle]
exclude = __init__.py,constants.py,fixes.py
ignore = E241,E305,W504

[pydocstyle]
convention = pep257
match_dir = ^(?!\.|docs|examples).*$
match = (?!tests/__init__\.py|fixes).*\.py
add-ignore = D100,D104,D107,D413
add-select = D214,D215,D404,D405,D406,D407,D408,D409,D410,D411
ignore-decorators = ^(copy_.*_doc_to_|on_trait_change|cached_property|deprecated|property|.*setter).*