forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
51 lines (44 loc) · 1.03 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
41
42
43
44
45
46
47
48
49
50
51
[isort]
profile=black
known_first_party=pymatgen
[tool:pytest]
addopts = -x --durations=30 --quiet -rxXs --color=yes
filterwarnings =
ignore::UserWarning
ignore::FutureWarning
ignore::RuntimeWarning
ignore::pymatgen.io.vasp.inputs.UnknownPotcarWarning
[pycodestyle]
count = True
ignore = E121,E123,E126,E133,E226,E241,E242,E704,W503,W504,W505,E741,W605,W293,W291,W292,E203,E231
max-line-length = 120
statistics = True
exclude=docs_rst/*.py
[flake8]
exclude = .git,__pycache__,docs_rst/conf.py,tests
# max-complexity = 10
extend-ignore = E741,W291,W293,E501,E231,E203
max-line-length = 120
[pydocstyle]
ignore = D105,D2,D4
match-dir=(?!(tests)).*
[coverage:run]
omit =
pymatgen/cli
relative_files = True
[coverage.report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
@deprecated
show_plot
[mypy]
ignore_missing_imports = True
namespace_packages = True
explicit_package_bases = True