-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
112 lines (101 loc) · 2.76 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
[project]
name = "radarx"
description = "Xarray based radar toolkit"
readme = "README.md"
authors = [
{name = "Hamid Ali Syed", email = "[email protected]"}
]
maintainers = [
{name = "Hamid Ali Syed", email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science"
]
license = {text = "MIT license"}
dynamic = ["version", "dependencies"]
[project.urls]
bugs = "https://github.com/syedhamidali/radarx/issues"
changelog = "https://github.com/syedhamidali/radarx/blob/master/changelog.md"
homepage = "https://github.com/syedhamidali/radarx"
documentation = "https://radarx.reathedocs.io"
[build-system]
requires = ["setuptools>=64",
"setuptools-scm>=8",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
readme = {file = ["README.md", "docs/history.md"], content-type = "text/markdown"}
[tool.setuptools_scm]
write_to = "radarx/version.py"
# version_scheme = "post-release"
local_scheme = "no-local-version" # To avoid post/dev versions
fallback_version = "9999"
[project.optional-dependencies]
dev = ["coverage", # testing
"mypy", # linting
"pytest", # testing
"ruff", # linting
"pooch", # data retrieval for testing
"pre-commit",
"black[jupyter]",
"blackdoc",
"codespell",
"pytest-cov",
"pytest-mock",
"pytest-check",
"pytest-sugar",
"pytest-watcher",
"deepdiff",
"pip-tools",
"bumpver",
"twine",
"wheel",
"build",
"setuptools>=61.0.0",
"sphinx",
"sphinx-gallery",
"sphinx-book-theme",
"nbsphinx",
"sphinx_mdinclude"]
[tool.black]
target-version = ["py39"]
line-length = 88
[tool.ruff]
target-version = "py39"
builtins = ["ellipsis"]
exclude = [
".eggs",
"doc"
]
[tool.ruff.lint]
ignore = [
"E402", # module level import not at top of file
"E501", # line too long - let black worry about that
"E731" # do not assign a lambda expression, use a def
]
select = [
# Pyflakes
"F",
# Pycodestyle
"E", "W",
# isort
"I",
# Pyupgrade
"UP"
]
[tool.ruff.lint.isort]
known-first-party = ["radarx"]