forked from microsoft/aiida-pyscf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
141 lines (122 loc) · 3.01 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
[build-system]
requires = ['flit_core>=3.4,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'aiida-pyscf'
dynamic = ['description', 'version']
authors = [
{name = 'Sebastiaan P. Huber', email = 'mail@sphuber.net'},
{name = 'Adam Grofe', email = 'v-adamgrofe@microsoft.com'}
]
readme = 'README.md'
license = {file = 'LICENSE.txt'}
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.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering'
]
keywords = ['aiida', 'workflows', 'pyscf']
requires-python = '>=3.8'
dependencies = [
'aiida-core[atomic_tools]~=2.3',
'aiida-shell>=0.5.3',
'dill',
'numpy',
'pint',
'pyscf[geomopt]~=2.2,<2.4',
]
[project.urls]
Source = 'https://github.com/microsoft/aiida-pyscf'
[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.3.0',
'pre-commit~=2.17',
'pylint~=2.16.0',
'pylint-aiida~=0.1.1',
]
tests = [
'packaging',
'pgtest~=1.3,>=1.3.1',
'pytest~=7.2',
'pytest-regressions',
]
[tool.flit.module]
name = 'aiida_pyscf'
[tool.flit.sdist]
exclude = [
'tests',
'.gitignore',
'.pre-commit-config.yaml',
]
[tool.flynt]
line-length = 120
fail-on-change = true
[tool.isort]
force_sort_within_sections = true
include_trailing_comma = true
line_length = 120
multi_line_output = 3
[tool.mypy]
show_error_codes = true
check_untyped_defs = true
scripts_are_modules = true
warn_unused_ignores = true
warn_redundant_casts = true
no_warn_no_return = true
show_traceback = true
[[tool.mypy.overrides]]
module = 'aiida_pyscf.*'
follow_imports = 'skip'
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
'ase.*',
'dill.*',
'pint.*',
'plumpy.*',
'ruamel.*',
]
ignore_missing_imports = true
[tool.pydocstyle]
ignore = [
'D104',
'D203',
'D213'
]
[tool.pylint.master]
load-plugins = ['pylint_aiida']
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
'duplicate-code',
'import-outside-toplevel',
'inconsistent-return-statements',
'too-many-ancestors',
]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:Creating AiiDA configuration folder.*:UserWarning'
]
[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