-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
163 lines (131 loc) · 3.34 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
[build-system]
# Defined by PEP 518
requires = [
"setuptools>=68",
"setuptools_scm[toml]>=8",
"wheel"
]
# Defined by PEP 517
build-backend = "setuptools.build_meta"
[project]
authors = [
{name = "Aeolus Contributors", email = "dennis.sergeev@gmail.com"}
]
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
description = "Analysis and visualisation of atmospheric model output powered by iris"
dynamic = [
"dependencies",
"optional-dependencies",
"readme",
"version",
]
keywords = [
"atmospheric-science",
"climate-model",
"earth-science",
"planetary-science",
]
license.file = "LICENSE"
name = "aeolus"
requires-python = ">=3.10"
[project.urls]
Code = "https://github.com/exoclim/aeolus"
Issues = "https://github.com/exoclim/aeolus/issues"
Discussions = "https://github.com/exoclim/aeolus/discussions"
Documentation = "https://exoclim.github.io/aeolus"
[project.scripts]
aeolus = "aeolus.cli:main"
[tool.black]
line-length = 79
target-version = ["py310", "py311", "py312"]
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.check-manifest]
ignore = [
"src/aeolus/_version.py",
]
[tool.codespell]
ignore-words-list = "whet,projets"
skip = ".git,*.ipynb"
# [tool.pytest.ini_options]
# addopts = [
# "--doctest-continue-on-failure",
# "--doctest-modules",
# "--import-mode=importlib",
# "-ra",
# "--strict-config",
# "--strict-markers",
# "-v",
# ]
# doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS NUMBER"
# filterwarnings = [
# "error",
# "ignore:numpy.ndarray size changed:RuntimeWarning",
# ]
# minversion = "6.0"
# testpaths = "tests"
[tool.ruff]
extend-exclude = ["docs"]
ignore = ["B023", "B904", "D401"]
line-length = 79
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"I", # isort
"E", # pycodestyle
"W",
"D", # pydocstyle
"F", # pyflakes
"UP", # pyupgrade
]
target-version = "py39"
[tool.ruff.lint.isort]
force-sort-within-sections = true
known-first-party = ["aeolus"]
[tool.ruff.lint.per-file-ignores]
"src/aeolus/core.py" = ["D102", "D103"]
"tests/*.py" = ["D103"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.setuptools]
license-files = ["LICENSE"]
zip-safe = false
[tool.setuptools.dynamic]
dependencies = {file = ["requirements/pypi-core.txt"]}
readme = {file = "README.md", content-type = "text/markdown"}
# [tool.setuptools.dynamic.optional-dependencies]
# docs = {file = ["requirements/pypi-optional-docs.txt"]}
# exam = {file = ["requirements/pypi-optional-exam.txt"]}
[tool.setuptools.packages.find]
include = ["aeolus*"]
where = ["src"]
[tool.setuptools_scm]
write_to = "src/aeolus/_version.py"
local_scheme = "dirty-tag"
version_scheme = "calver-by-date"