-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpyproject.toml
122 lines (111 loc) · 2.87 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 = ["hatchling",
"hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pysm3"
dynamic = ["version"]
description = "PySM generates full-sky simulations of Galactic emissions in intensity and polarization"
readme = "README.rst"
license.file = "LICENSE"
requires-python = ">=3.7"
authors = [
{ name = "Andrea Zonca", email = "[email protected]" },
]
dependencies = [
"astropy",
"h5py",
"scipy",
"healpy >= 1.16.0",
"importlib_metadata;python_version<'3.8'",
"numba",
"numpy < 2",
"toml",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"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",
"Topic :: Scientific/Engineering :: Physics",
]
[project.urls]
Homepage = "https://github.com/galsci/pysm"
Documentation = "https://pysm3.readthedocs.io/"
"Bug Tracker" = "https://github.com/galsci/pysm/issues"
Changelog = "https://github.com/galsci/pysm/blob/main/CHANGES.rst"
[project.optional-dependencies]
docs = [
"ipykernel",
"nbsphinx",
"pandoc",
"sphinx-pyproject",
"sphinx-astropy",
"sphinx-math-dollar",
]
mpi = [
"mpi4py",
]
test = [
"netcdf4",
"pixell == 0.26.0",
"psutil",
"pytest",
"pytest-astropy",
"tox",
"xarray",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/pysm3/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"/src/pysm3",
]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:may indicate binary incompatibility:RuntimeWarning',
]
## For debugging purposes, enable printing of logging calls
# log_cli = true
# log_cli_level = "DEBUG"
[tool.ruff.lint]
extend-select = [
"B", # flake8-bugbear
"I", # isort
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"EM", # flake8-errmsg
"ICN", # flake8-import-conventions
"G", # flake8-logging-format
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"PT", # flake8-pytest-style
"PTH", # flake8-use-pathlib
"RET", # flake8-return
"RUF", # Ruff-specific
"SIM", # flake8-simplify
"T20", # flake8-print
"UP", # pyupgrade
"YTT", # flake8-2020
"EXE", # flake8-executable
"NPY", # NumPy specific rules
"PD", # pandas-vet
"FURB", # refurb
"PYI", # flake8-pyi
]
ignore = [
"PLR09", # Too many <...>
"PLR2004", # Magic value used in comparison
"ISC001", # Conflicts with formatter
]
typing-modules = ["mypackage._compat.typing"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["T20"]