-
Notifications
You must be signed in to change notification settings - Fork 97
/
setup.cfg
40 lines (30 loc) · 1.61 KB
/
setup.cfg
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
39
40
[metadata]
description-file = README.rst
[aliases]
release = register sdist bdist_wheel upload
[build]
force = 1
[bdist_wheel]
universal=1
#[tool:pytest]
#ignore=abipy/gui
#addopts=--cov-config=.coveragerc --cov=abipy -v --doctest-modules abipy \
# --ignore=abipy/integration_tests --ignore=abipy/data/refs --ignore=abipy/scripts/ \
# --ignore=abipy/examples/plot --ignore=abipy/examples/flows --ignore=abipy/gui
#norecursedirs = scripts/post_processing _build* doxygen_docs tmp-robodoc .ipynb_checkpoints
#pytest -n 2 --cov-config=.coveragerc --cov=abipy -v --doctest-modules abipy \
# --ignore=abipy/integration_tests --ignore=abipy/data/refs --ignore=abipy/scripts/ \
# --ignore=abipy/examples/plot --ignore=abipy/examples/flows --ignore=abipy/gui
[pycodestyle]
count = True
max-line-length = 130
statistics = True
ignore = E114,E116,E121,E122,E123,E124,E126,E127,E128,E129,E131,E133,E201,E203,E226,E231,E241,E242,E261,E262,E265,E266,E306,E401,E402,E704,W503,W504,W505,E701,E702,E731,E741,W605
exclude= .git,__pycache__,abipy/gui,abipy/abio/abivar_database,dev_scripts,docs,.ipynb_checkpoints,abipy/examples/flows/develop/,test_*.py,abipy/data/refs
[flake8]
# max-complexity = 10
max-line-length = 130
exclude= .git,__pycache__,abipy/gui,abipy/abio/abivar_database,dev_scripts,docs,.ipynb_checkpoints,abipy/examples/flows/develop/,test_*.py,abipy/benchmarks,abipy/data/refs,abilab.py
extend_ignore = E114,E116,E121,E122,E123,E124,E126,E127,E128,E129,E131,E133,E201,E203,E226,E231,E241,E242,E261,E262,E265,E266,E306,E401,E402,E704,W503,W504,W505,E701,E702,E731,E741,W605,F841
[pydocstyle]
ignore = D105,D107,D205