-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
128 lines (113 loc) · 2.87 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
[build-system]
build-backend = 'flit_core.buildapi'
requires = ['flit_core>=3.4,<4']
[project]
authors = [
{name = 'Sebastiaan P. Huber', email = '[email protected]'},
{name = 'Adam Grofe', email = '[email protected]'},
{name = 'Conrad Johnston', email = '[email protected]'}
]
classifiers = [
'Development Status :: 3 - Alpha',
'Framework :: AiiDA',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering'
]
dependencies = [
'aiida-core[atomic_tools]~=2.6',
'aiida-shell>=0.5.3',
'numpy',
'pint',
'pyscf[geomopt] ~= 2.7'
]
dynamic = ['description', 'version']
keywords = ['aiida', 'workflows', 'pyscf']
license = {file = 'LICENSE.txt'}
name = 'aiida-pyscf'
readme = 'README.md'
requires-python = '>=3.9'
[project.entry-points.'aiida.calculations']
'pyscf.base' = 'aiida_pyscf.calculations.base:PyscfCalculation'
[project.entry-points.'aiida.parsers']
'pyscf.base' = 'aiida_pyscf.parsers.base:PyscfParser'
[project.entry-points.'aiida.workflows']
'pyscf.base' = 'aiida_pyscf.workflows.base:PyscfBaseWorkChain'
[project.optional-dependencies]
pre-commit = [
'mypy==1.13.0',
'pre-commit~=2.17'
]
tests = [
'packaging',
'pgtest~=1.3,>=1.3.1',
'pytest~=8.3',
'pytest-regressions'
]
[project.urls]
Source = 'https://github.com/microsoft/aiida-pyscf'
[tool.flit.module]
name = 'aiida_pyscf'
[tool.flit.sdist]
exclude = [
'tests',
'.gitignore',
'.pre-commit-config.yaml'
]
[tool.flynt]
fail-on-change = true
line-length = 120
[tool.mypy]
check_untyped_defs = true
no_warn_no_return = true
scripts_are_modules = true
show_error_codes = true
show_traceback = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
check_untyped_defs = true
follow_imports = 'skip'
module = 'aiida_pyscf.*'
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
'ase.*',
'pint.*',
'plumpy.*',
'ruamel.*',
'aiida_shell.*'
]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:Creating AiiDA configuration folder.*:UserWarning',
'ignore:Object of type .* not in session.*:sqlalchemy.exc.SAWarning'
]
[tool.ruff]
ignore = [
'D203', # Incompatible with D211 `no-blank-line-before-class`
'D213', # Incompatible with D212 `multi-line-summary-second-line`
'PLR2004' # Magic value used in comparison
]
line-length = 120
select = [
'E', # pydocstyle
'W', # pydocstyle
'F', # pyflakes
'I', # isort
'N', # pep8-naming
'D', # pydocstyle
'PLC', # pylint-convention
'PLE', # pylint-error
'PLR', # pylint-refactor
'PLW', # pylint-warning
'RUF' # ruff
]
[tool.ruff.format]
quote-style = 'single'