-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
106 lines (94 loc) · 2.15 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
[build-system]
requires = ['flit_core >=3.4,<4']
build-backend = 'flit_core.buildapi'
[project]
name = 'qe-tools'
dynamic = ['version', 'description']
authors = [{name = 'The AiiDA team', email = 'developers@aiida.net'}]
readme = 'README.md'
license = {file = 'LICENSE.txt'}
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Software Development :: Libraries :: Python Modules',
]
requires-python = '>=3.9'
dependencies = [
'numpy',
'scipy',
'packaging',
]
[project.urls]
Home = 'https://github.com/aiidateam/qe-tools'
Source = 'https://github.com/aiidateam/qe-tools'
[project.optional-dependencies]
dev = [
'codecov',
'mypy~=1.11',
'pre-commit',
'timeout-decorator',
'pytest~=7.0',
'pytest-cov',
'pytest-cases~=3.2',
'ruamel.yaml',
]
docs = [
'Sphinx',
'docutils',
'sphinx_rtd_theme',
]
[tool.flit.module]
name = 'qe_tools'
[tool.flit.sdist]
exclude = [
'.github/',
'tests/',
'.gitignore',
'.pre-commit-config.yaml',
]
[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
follow_imports = 'skip'
[[tool.mypy.overrides]]
module = [
'scipy.*',
'numpy.*'
]
ignore_errors = true
ignore_missing_imports = true
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
ignore = [
'E731'
]
[tool.ruff.format]
quote-style = 'single'
[tool.pytest.ini_options]
testpaths = [
'tests',
]
filterwarnings = [
'ignore:WARNING the new order is not taken into account !!:UserWarning',
]