-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
174 lines (152 loc) · 3.62 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[build-system]
requires = ['flit_core >=3.4,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'aiida-abinit'
dynamic = ['description', 'version']
authors = [{name = 'Samuel Ponce', email = 'samuel.pon@gmail.com'}]
readme = 'README.md'
license = {file = 'LICENSE.txt'}
classifiers = [
'Development Status :: 4 - Beta',
'Framework :: AiiDA',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
keywords = ['aiida', 'abinit']
requires-python = '>=3.8'
dependencies = [
'aiida_core[atomic_tools]~=2.0',
'aiida-pseudo~=1.0',
'abipy>=0.8.0',
'packaging',
'pymatgen<=v2023.9.10',
'numpy',
'importlib_resources'
]
[project.urls]
Home = 'https://github.com/sponce24/aiida-abinit'
Source = 'https://github.com/sponce24/aiida-abinit'
[project.optional-dependencies]
docs = [
'sphinx',
'docutils',
'sphinx-copybutton~=0.3.0',
'sphinx-book-theme~=0.1.0',
'sphinx-click~=2.7.1'
]
pre-commit = [
'pre-commit~=2.2',
'pylint==2.6.0'
]
tests = [
'pgtest~=1.3',
'pytest~=7.2',
'pytest-regressions~=1.0'
]
[project.entry-points.'aiida.calculations']
'abinit' = 'aiida_abinit.calculations:AbinitCalculation'
[project.entry-points.'aiida.parsers']
'abinit' = 'aiida_abinit.parsers:AbinitParser'
[project.entry-points.'aiida.workflows']
'abinit.base' = 'aiida_abinit.workflows.base:AbinitBaseWorkChain'
[tool.flit.module]
name = 'aiida_abinit'
[tool.flit.sdist]
exclude = [
'.github/',
'docs/',
'tests/',
]
[tool.flynt]
line-length = 120
fail-on-change = true
[tool.pydocstyle]
ignore = [
'D104',
'D202',
'D203',
'D213'
]
[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',
'Psp8Data',
'JthXmlData',
'AbinitCalculation',
]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:Creating AiiDA configuration folder.*:UserWarning',
'ignore::DeprecationWarning:frozendict:',
'ignore::DeprecationWarning:pkg_resources:',
'ignore::DeprecationWarning:reentry:',
'ignore::DeprecationWarning:sqlalchemy_utils:',
]
minversion = '7.0'
testpaths = [
'tests',
]
[tool.yapf]
align_closing_bracket_with_visual_indent = true
based_on_style = 'google'
coalesce_brackets = true
column_limit = 120
dedent_closing_brackets = true
indent_dictionary_value = false
split_arguments_when_comma_terminated = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38
[testenv]
usedevelop=True
[testenv:py{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
"""