Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (78 loc) · 2.3 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (78 loc) · 2.3 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
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "squawk-decoder"
version = "0.1.0"
description = "Offline Mode A squawk, emitter category and ICAO aircraft type decoder with a live squawk monitor"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.11"
authors = [{ name = "technothatch" }]
keywords = ["ads-b", "dump1090", "readsb", "mode-s", "aircraft", "adsb"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Communications :: Ham Radio",
"Topic :: System :: Monitoring",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"pytest-cov>=5.0",
"ruff>=0.8",
"mypy>=1.11",
]
[project.urls]
Homepage = "https://github.com/technothatch/squawk-decoder"
Repository = "https://github.com/technothatch/squawk-decoder"
Issues = "https://github.com/technothatch/squawk-decoder/issues"
Changelog = "https://github.com/technothatch/squawk-decoder/blob/main/CHANGELOG.md"
[project.scripts]
squawk-decoder = "squawk_decoder.cli:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ["py.typed", "*.json", "*.csv", "*.toml"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "A", "C4", "SIM", "RUF"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "N818"]
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
strict = true
python_version = "3.11"
files = ["src"]
warn_unreachable = true
disallow_any_generics = true
show_error_codes = true
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"
filterwarnings = ["error"]
[tool.coverage.run]
branch = true
source = ["squawk_decoder"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]