forked from aiidateam/aiida-quantumespresso
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (69 loc) · 1.58 KB
/
pyproject.toml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ['setuptools>=40.8.0', 'wheel', 'reentry~=1.3', 'fastentrypoints~=0.12']
build-backend = 'setuptools.build_meta:__legacy__'
[tool.pylint.format]
max-line-length = 120
[tool.pylint.tool-check]
generated-members = 'self.exit_codes.*'
[tool.pylint.messages_control]
disable = [
'bad-continuation',
'duplicate-code',
'locally-disabled',
'logging-format-interpolation',
'inconsistent-return-statements',
'import-outside-toplevel',
'no-else-raise',
'too-many-arguments',
'too-many-ancestors',
'too-many-branches',
'too-many-locals',
]
[tool.pylint.basic]
good-names = [
'i',
'j',
'k',
'SsspFamily',
'StructureData',
'UpfData',
'HpCalculation',
'PwCalculation',
]
[tool.pytest.ini_options]
minversion = '6.0'
testpaths = [
'tests',
]
filterwarnings = [
'ignore::DeprecationWarning:frozendict:',
'ignore::DeprecationWarning:pkg_resources:',
'ignore::DeprecationWarning:reentry:',
'ignore::DeprecationWarning:sqlalchemy_utils:',
]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37
[testenv]
usedevelop=True
[testenv:py{36,37,38,39}]
extras = tests
commands = pytest {posargs}
[testenv:py38-pre-commit]
description = Run the pre-commit checks
extras =
tests
pre-commit
commands = pre-commit run {posargs}
[testenv:py38-docs-{clean,update}]
description =
clean: Build the documentation (remove any existing build)
update: Build the documentation (modify any existing build)
extras = docs
changedir = docs
whitelist_externals = make
commands =
clean: make clean
make
"""