-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (103 loc) · 2.39 KB
/
pyproject.toml
File metadata and controls
117 lines (103 loc) · 2.39 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
107
108
109
110
111
112
113
114
115
116
117
[project]
name = "osmsg"
version = "1.1.2"
description = "OpenStreetMap Stats Generator: Commandline"
readme = "README.md"
authors = [
{name = "Kshitij Raj Sharma", email = "skshitizraj@gmail.com"},
]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
dependencies = [
"duckdb>=1.5.2",
"osmium>=4.3.1",
"platformdirs>=4.5.1",
"pyarrow>=24.0.0",
"pydantic>=2.13.3",
"python-dotenv>=1.2.2",
"pytz>=2024.1",
"requests>=2.32.5",
"rich>=13.0",
"shapely>=2.1.2",
"typer>=0.25.0",
"typer-config[yaml]>=1.5.1",
]
keywords = ["osm", "stats", "commandline", "openstreetmap"]
classifiers = [
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[project.urls]
homepage = "https://github.com/osgeonepal/osmsg"
documentation = "https://github.com/osgeonepal/osmsg"
repository = "https://github.com/osgeonepal/osmsg"
[project.scripts]
osmsg = "osmsg.cli:app"
[build-system]
requires = ["uv_build>=0.5.15,<0.9"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "osmsg"
module-root = ""
[dependency-groups]
api = [
"asyncpg>=0.30.0",
"litestar[standard,pydantic]>=2.18.0",
]
dev = [
"pytest>=7.4.2",
"pytest-mock>=3.14.0",
"coverage>=7.6.1",
"ty>=0.0.32",
"ruff>=0.15.12",
"pre-commit>=4.6.0",
"commitizen>=4.13.10",
]
[tool.pytest.ini_options]
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
markers = [
"network: tests that hit the public internet (deselect with -m 'not network').",
]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_scheme = "semver"
version_provider = "pep621"
update_changelog_on_bump = true
version_files = [
"pyproject.toml:version",
"osmsg/__version__.py",
]
pre_bump_hooks = [
"uv lock",
"git add uv.lock",
]
[tool.ruff]
fix = true
line-length = 120
target-version = "py311"
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"osmsg/__version__.py",
]
[tool.ruff.lint]
select = ["I", "E", "W", "B", "F", "N", "Q", "UP", "SIM"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ty.src]
include = ["osmsg", "api"]
[tool.coverage.run]
source = ["osmsg"]
[tool.coverage.report]
show_missing = true