-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
101 lines (86 loc) · 2.35 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
[project]
name = "mpcq"
dynamic = ["version"]
authors = [
{ name = "Spencer Nelson", email = "[email protected]" },
{ name = "Nate Tellis", email = "[email protected]" },
{ name = "Alec Koumjian", email = "[email protected]" },
{ name = "Joachim Moeyens", email = "[email protected]" },
]
description = "Client library for interacting with an MPC observations database"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
]
license = { file = "LICENSE.md" }
keywords = ["astronomy", "orbital mechanics", "propagation"]
dependencies = [
"adam_core==0.2.4a1",
"sqlalchemy<2",
"astropy",
"pandas",
"astropy",
"quivr",
"google-cloud-secret-manager",
"cloud-sql-python-connector[pg8000]",
"pg8000",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.build]
includes = ["src/mpcq/"]
[tool.pdm.version]
source = "scm"
write_to = "mpcq/_version.py"
write_template = "__version__ = '{}'"
[tool.pdm.scripts]
check = { composite = ["lint", "typecheck", "test"] }
format = { composite = ["black ./src/mpcq", "isort ./src/mpcq"] }
lint = { composite = [
"ruff check ./src/mpcq",
"black --check ./src/mpcq",
"isort --check-only ./src/mpcq",
] }
fix = "ruff ./src/mpcq --fix"
typecheck = "mypy --strict ./src/mpcq"
test = "pytest --benchmark-disable {args}"
doctest = "pytest --doctest-plus --doctest-only"
benchmark = "pytest --benchmark-only"
coverage = "pytest --cov=mpcq --cov-report=xml"
[project.urls]
"Documentation" = "https://github.com/B612-Asteroid-Institute/mpcq#README.md"
"Issues" = "https://github.com/B612-Asteroid-Institute/mpcq/issues"
"Source" = "https://github.com/B612-Asteroid-Institute/mpcq"
[project.optional-dependencies]
dev = [
"black",
"ipython",
"isort",
"mypy",
"pdm",
"pytest-benchmark",
"pytest-cov",
"pytest-doctestplus",
"pytest-mock",
"pytest",
"ruff",
]
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 110
target-version = "py311"
lint.ignore = []
exclude = ["build"]
[tool.mypy]
ignore_missing_imports = true