36 lines
798 B
TOML
36 lines
798 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "flight-map"
|
|
version = "0.1.0"
|
|
description = "Record OpenSky flights and draw pen-plotter SVG maps"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
dependencies = ["shapely>=2.0,<3", "pyproj>=3.6,<4", "rasterio>=1.4,<2"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "ruff>=0.11", "mypy>=1.15", "types-shapely>=2"]
|
|
|
|
[project.scripts]
|
|
flight-map = "flight_map.cli:main"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E4", "E7", "E9", "F", "I", "B", "UP"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
check_untyped_defs = true
|
|
disallow_untyped_defs = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["rasterio", "rasterio.*"]
|
|
ignore_missing_imports = true
|