-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 2.17 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (75 loc) · 2.17 KB
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
[project]
name = "lintle"
version = "0.5.0"
description = "Validate and clean Two-Line Element (TLE) satellite-tracking files"
readme = "README.md"
requires-python = ">=3.14"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Andrei Lavrenov", email = "andrei@lav.ren" }]
keywords = [
"tle",
"two-line-element",
"satellite",
"space-track",
"sgp4",
"orbital-mechanics",
"validator",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Utilities",
]
dependencies = [
"humanize>=4,<5",
"rich>=15,<16",
]
[project.urls]
Homepage = "https://github.com/elfensky/lintle"
Repository = "https://github.com/elfensky/lintle"
Issues = "https://github.com/elfensky/lintle/issues"
Changelog = "https://github.com/elfensky/lintle/blob/main/CHANGELOG.md"
[project.scripts]
lintle = "lintle.cli:main"
[dependency-groups]
dev = [
"hypothesis>=6,<7",
"pytest>=9.0,<10",
"pytest-cov>=7.1,<8",
"pytest-xdist>=3,<4",
"ruff>=0.15,<0.16",
"sgp4>=2.25,<3",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/lintle"]
# TestPyPI as a named publish target. `explicit = true` keeps it out of normal
# dependency resolution — it is only ever used via `uv publish --index testpypi`.
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.ruff]
target-version = "py314"
line-length = 88
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
[tool.pytest.ini_options]
testpaths = ["tests"]
# `slow` is opt-in — long-running throughput tests excluded from the default
# suite (and from the CI matrix, which runs `uv run pytest` with no `-m`).
# Run them explicitly with `uv run pytest -m slow`.
markers = [
"slow: opt-in long-running tests, excluded from the default suite",
]
addopts = "-m 'not slow' -n auto"