Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (95 loc) · 2.66 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (95 loc) · 2.66 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
94
95
96
97
98
99
100
101
102
103
104
105
106
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pytransdatro"
version = "1.0.0-beta"
description = "Pure Python implementation of Romanian geodetic coordinate transformations (Stereo 70 <-> ETRS89)"
authors = [{ name = "PyTransDatRO Authors" }]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
keywords = [
"geodesy",
"gis",
"coordinates",
"stereo70",
"etrs89",
"romania",
"ancpi",
"transformation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"numpy>=1.20.0",
]
[project.urls]
Homepage = "https://github.com/bogdanmorosanu/PyTransDatRO"
Repository = "https://github.com/bogdanmorosanu/PyTransDatRO"
Issues = "https://github.com/bogdanmorosanu/PyTransDatRO/issues"
Documentation = "https://github.com/bogdanmorosanu/PyTransDatRO#readme"
[project.optional-dependencies]
api = [
"fastapi>=0.110.0",
"uvicorn>=0.28.0",
"pydantic>=2.6.0",
"pydantic-settings>=2.2.0",
"python-multipart>=0.0.9",
"httpx>=0.27.0",
]
dev = [
"build>=1.0.0",
"ruff>=0.3.0",
"pytest>=8.0.0",
"httpx>=0.27.0",
]
[tool.setuptools.packages.find]
include = ["pytransdatro*", "api*"]
[tool.setuptools.package-data]
"pytransdatro.grids" = ["*.spg", "*.json"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort (import sorting)
"B", # flake8-bugbear
]
ignore = [
"E501", # line-too-long (handled by formatter)
"B008", # do not perform function call in argument defaults (FastAPI Depends/Query/File idiom)
]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = [
"fastapi.Depends",
"fastapi.Query",
"fastapi.File",
"fastapi.Form",
"fastapi.Header",
"fastapi.Path",
"pydantic.Field",
]
[tool.ruff.lint.isort]
known-first-party = ["pytransdatro", "api"]
[tool.ruff.lint.per-file-ignores]
"tools/*" = ["E402"]
"tests/*" = ["E402"]
[tool.pytest.ini_options]
markers = [
"legacy_live: Live differential parity tests against the external legacy TransDatOnline service (auto-skipped when offline or decommissioned).",
]