-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
122 lines (111 loc) · 2.55 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
[build-system]
requires = [
"setuptools>=61.2",
"Cython>=3.0",
"numpy>=2.0.0",
]
[project]
name = "yt_astro_analysis"
version = "1.2.dev2"
description = "yt astrophysical analysis modules extension"
authors = [
{ name = "The yt project", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: C",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
]
keywords = [
"astronomy astrophysics visualization amr adaptivemeshrefinement",
]
requires-python = ">=3.9"
dependencies = [
"h5py>=3.1.0",
"yt>=4.0.1",
"numpy>=1.19.3, <3",
"packaging>=20.9",
]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "BSD 3-Clause"
[project.urls]
Homepage = "https://yt-project.org/"
Documentation = "https://yt-astro-analysis.readthedocs.io/"
Source = "https://github.com/yt-project/yt_astro_analysis/"
Tracker = "https://github.com/yt-project/yt_astro_analysis/issues"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.black]
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.ruff.lint]
exclude = ["*__init__.py", "*api.py"]
ignore = [
"E501",
"NPY002", # numpy-legacy-random (not actually deprecated, and not auto-fixable)
]
select = [
"E",
"F",
"W",
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"G", # flake8-logging
"YTT", # flake8-2020
"I", # isort
"UP", # pyupgrade
"NPY", # NumPy-specific rules
]
[tool.ruff.lint.isort]
combine-as-imports = true
known-third-party = [
"IPython",
"pynose",
"numpy",
"sympy",
"matplotlib",
"unyt",
"git",
"yaml",
"dateutil",
"requests",
"coverage",
"pytest",
"pyx",
"glue",
]
known-first-party = ["yt", "yt_astro_analysis"]
[tool.pytest]
filterwarnings = ["error"]