-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
108 lines (101 loc) · 2.35 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
[project]
name = "osm-rawdata"
dynamic = ["version"]
description = "Make data extracts from OSM data."
authors = [
{name = "Rob Savoye", email = "[email protected]"},
{name = "Sam Woodcock", email = "[email protected]"},
]
dependencies = [
"PyYAML>=6.0.0",
"requests>=2.26.0",
"shapely>=1.8.1",
"geojson>=2.5.0",
"psycopg2>=2.9.1",
"flatdict>=4.0.1",
]
requires-python = ">=3.10"
readme = "README.md"
license = "AGPL-3.0-only"
keywords = ["hot", "osm", "openstreetmap"]
classifiers = [
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
homepage = "https://hotosm.github.io/osm-rawdata"
documentation = "https://hotosm.github.io/osm-rawdata"
repository = "https://github.com/hotosm/osm-rawdata"
[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 = "osm_rawdata"
log_cli = true
log_cli_level = "DEBUG"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.4.0"
version_files = [
"pyproject.toml:version",
"osm_rawdata/__version__.py",
"Makefile:VERSION",
]
update_changelog_on_bump = true
[tool.pdm]
version = {from = "osm_rawdata/__version__.py"}
[tool.pdm.build]
includes = ["osm_rawdata"]
source-includes = ["LICENSE.md", "README.md"]
[tool.pdm.dev-dependencies]
importer = [
"sqlalchemy>=2.0.0",
"GeoAlchemy2>=0.11.0",
"SQLAlchemy-Utils>=0.38.3",
]
dev = [
"commitizen>=3.6.0",
"pre-commit>=3.3.3",
]
debug = [
"debugpy>=1.6.7.post1",
"ipdb>=0.13.13",
]
test = [
"pytest>=7.4.0",
]
docs = [
"mkdocs>=1.5.2",
"mkdocs-material>=9.2.3",
"mkdocstrings-python>=1.5.2",
"mkdocs-exclude>=1.0.2",
]
[tool.ruff]
fix = true
line-length = 88
target-version = "py310"
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"osm_rawdata/__version__.py",
]
[tool.ruff.lint]
select = ["I", "E", "W", "D", "B", "F", "N", "Q"]
ignore = ["N805", "B008"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[project.scripts]
# osm-rawdata = "osm_rawdata.cmd:main"
importer = "osm_rawdata.importer:main"
geofabrik = "osm_rawdata.geofabrik:main"