-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (72 loc) · 2.17 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
[project]
name = "adam-assist"
dynamic = ["version"]
description = 'ADAM Core Propagator class using ASSIST'
authors = [
{ name = "Alec Koumjian", email = "[email protected]" },
{ name = "Kathleen Kiker" }
]
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["astronomy", "orbital mechanics", "propagation"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy"
]
requires-python = ">=3.10,<4.0"
dependencies = [
"adam-core>=0.2.5",
"naif-de440",
"jpl-small-bodies-de441-n16",
# Temporary until SPK support is merged and released upstream
"assist-adam-fork==1.1.9a2",
"numpy",
"ray",
"spiceypy>=6.0.0"
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
includes = ["src/adam_assist/"]
[tool.pdm.version]
source = "scm"
write_to = "adam_assist/version.py"
write_template = "__version__ = '{}'"
[project.urls]
"Documentation" = "https://github.com/B612-Asteroid-Institute/adam-assist#readme"
"Issues" = "https://github.com/B612-Asteroid-Institute/adam-assist/issues"
"Source" = "https://github.com/B612-Asteroid-Institute/adam-assist"
[project.optional-dependencies]
dev = [
"ruff",
"pdm",
"mypy",
"pytest",
"pytest-cov",
"pytest-mock",
"pytest-benchmark",
"black",
"isort",
"ipython"
]
[tool.pdm.scripts]
check = {composite = ["lint", "typecheck"]}
format = { composite = ["black ./src/adam_assist", "isort ./src/adam_assist"]}
lint = { composite = ["ruff check ./src/adam_assist", "black --check ./src/adam_assist", "isort --check-only ./src/adam_assist"] }
fix = "ruff check ./src/adam_assist --fix"
typecheck = "mypy --strict ./src/adam_assist"
test = "pytest --benchmark-disable {args}"
doctest = "pytest --doctest-plus --doctest-only"
benchmark = "pytest --benchmark-only"
coverage = "pytest --cov=src --cov-report=xml"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true