-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
113 lines (98 loc) · 2.36 KB
/
pyproject.toml
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
[project]
name = "osmsg"
version = "0.3.0"
dynamic = ["version"]
description = "OpenStreetMap Stats Generator: Commandline"
readme = "README.md"
authors = [
{name = "Kshitij Raj Sharma", email = "[email protected]"},
]
license = {text = "GPL-3.0-only"}
requires-python = ">=3.9"
dependencies = [
"pandas <= 2.2.2",
"osmium <= 3.7.0",
"requests <= 2.32.3",
"shapely <= 2.0.6",
"geopandas <= 1.0.1",
"tqdm <= 4.66.5",
"seaborn <= 0.13.2",
"matplotlib <= 3.9.2",
"humanize <= 4.10.0"
]
keywords = ["osm", "stats", "commandline", "openstreetmap"]
classifiers = [
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
homepage = "https://github.com/kshitijrajsharma/osmsg"
documentation = "https://github.com/kshitijrajsharma/osmsg"
repository = "https://github.com/kshitijrajsharma/osmsg"
[project.optional-dependencies]
test = [
"pytest>=7.4.2",
"pytest-mock>=3.14.0",
"coverage>=7.6.1",
"coverage-badge>=1.1.2",
]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.4.2",
"mkdocstrings-python>=1.7.0",
"mkdocs-exclude>=1.0.2",
]
[project.scripts]
osmsg = "osmsg.app:main"
[build-system]
requires = ["pdm-pep517>=1.1.4"]
build-backend = "pdm.pep517.api"
[tool.pytest.ini_options]
addopts = "-ra -q -p no:warnings"
testpaths = [
"tests",
]
pythonpath = "osmsg"
[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",
]
[tool.pdm]
version = {from = "osmsg/__version__.py"}
[tool.pdm.build]
includes = ["osmsg"]
source-includes = ["tests", "LICENSE", "README.md"]
[tool.black]
line-length = 132
target-versions = ["py39", "py310", "py311"]
[tool.ruff]
fix = true
line-length = 132
target-version = "py39"
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"osmsg/__version__.py",
]
[tool.ruff.lint]
select = ["I", "E", "W", "D", "B", "F", "N", "Q"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.coverage.run]
source = ["osmsg"]
[tool.coverage.report]
show_missing = true