-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
90 lines (81 loc) · 2 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
[project]
name = "kete"
version = "1.0.4"
description = "Kete Asteroid Survey Tools"
readme = "README.md"
authors = [{name = "Dar Dahlen", email = "[email protected]"},
{name = "Joe Masiero", email = "[email protected]"},
]
license = {text = "BSD"}
requires-python = ">=3.9"
classifiers=["Programming Language :: Python :: 3"]
dependencies = ["astropy>=5.3.4",
"matplotlib",
"matplotlib-label-lines",
"numpy>=1.24",
"pandas",
"requests",
"scipy",
]
[project.urls]
homepage = "https://github.com/IPAC-SW/kete"
[build-system]
requires = ["maturin>=1.0",
"wheel",
]
build-backend = "maturin"
[tool.maturin]
python-source = "src"
module-name = "kete._core"
[project.optional-dependencies]
dev = ["black>=23.1.0",
"pytest",
"pytest-cov",
"sphinx",
"autodoc",
"sphinx-gallery",
"mypy",
"types-requests",
"sphinx_rtd_theme",
"click",
]
docs = ["sphinx",
"autodoc",
"sphinx-gallery",
"sphinx_rtd_theme",
"click",
"pytz",
]
# Options for pytest
[tool.pytest.ini_options]
testpaths = ["src/tests"]
markers = [
"horizons: run JPL Horizons tests, requires an internet connection.",
]
# filterwarnings = "error"
# Options for the coverage report.
[tool.coverage.run]
omit = ["*/kete/mpc.py",
"*/kete/irsa.py",
"*/kete/wise.py",
"*/kete/ztf.py",
"*/kete/horizons.py",
"*/kete/data/*",
"*/examples/*",]
# See https://github.com/psf/black/blob/main/pyproject.toml for more details
[tool.black]
line-length = 88
target_version = ["py39"]
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
)/
)
'''
[tool.pylint.imports]
ignored-modules=["_core", "kete._core"]
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
ignore_missing_imports = true