-
Notifications
You must be signed in to change notification settings - Fork 8
/
pyproject.toml
124 lines (116 loc) · 2.46 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
[tool.poetry]
name = "zodipy"
version = "1.1.0"
description = "A Python package for zodiacal light simulations"
authors = ["Metin San <[email protected]>"]
readme = "README.md"
license = "GPL-3.0-or-later"
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Physics",
]
keywords = [
"astronomy",
"astrophysics",
"cosmology",
"space",
"science",
]
exclude = ["test.py"]
[tool.poetry.urls]
documentation = "https://cosmoglobe.github.io/zodipy/"
repository = "https://github.com/cosmoglobe/zodipy"
[tool.poetry.dependencies]
python = ">=3.9"
numpy = "^1.26.4"
astropy = ">=5.0.1"
jplephem = "^2.17"
scipy = "^1.13.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
mypy = "^1.0"
mkdocs = "^1.5.3"
pymdown-extensions = "^10.8.1"
markdown-include = "^0.8.1"
pre-commit = "^2.19.0"
coverage = "^7.1.0"
pytest-cov = "^4.0.0"
mkdocs-material = "^9.5.21"
mkdocstrings = "^0.25.1"
mkdocstrings-python = "^1.7.3"
ruff = "^0.3.7"
markdown = "^3.6.0"
hypothesis = "^6.99.11"
healpy = "^1.17.1"
astropy-healpix = "^1.0.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
disable_error_code = ["misc"]
plugins = "numpy.typing.mypy_plugin"
overrides = [
{ module = "astropy.*", ignore_missing_imports = true },
{ module = "astropy_healpix.*", ignore_missing_imports = true },
{ module = "scipy.*", ignore_missing_imports = true },
{ module = "pkg_resources.*", ignore_missing_imports = true },
]
exclude = ["_contour.py"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::UserWarning",
"ignore:.*overflow encountered in expm1.*",
]
[tool.ruff]
lint.select = [
"F",
"D",
"F",
"E",
"W",
"C",
"B",
"I",
"YTT",
"ANN",
"S",
"BLE",
"A",
"C4",
"EM",
"ISC",
"ICN",
"G",
"INP",
"PIE",
"T20",
"Q",
"RET",
"SIM",
"PLR",
"PLW",
"TRY",
"RUF",
"NPY201"
]
line-length = 100
lint.ignore = [
"B905",
"D100",
"D104",
"D105",
"D107",
"ANN101",
"PLR0913",
"ISC001",
"S311",
]
exclude = ["work_in_progress/*"]
lint.pydocstyle.convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
"docs/*" = ["INP001", "T201", "S101"]