-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
101 lines (90 loc) · 2.05 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
[project]
name = "geojson-stats"
description = "Stats for GeoJSON data"
authors = [
{name = "Emilio Mariscal", email = "[email protected]"},
]
dependencies = [
"pyproj>=3.5.0",
"shapely>=1.8.1",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "AGPL-3.0-only"}
keywords = ["hot", "geojson", "data"]
classifiers = [
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.8",
]
version = "0.2.4"
[project.urls]
homepage = "https://github.com/emi420/geojson-stats"
documentation = "https://github.com/emi420/geojson-stats"
repository = "https://github.com/emi420/geojson-stats"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pytest.ini_options]
addopts = "-ra -q -p no:warnings"
testpaths = [
"tests",
]
pythonpath = "geojson_stats"
log_cli = true
log_cli_level = "DEBUG"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.0.1"
version_files = [
"pyproject.toml:version",
"geojson_stats/__version__.py",
"Makefile:VERSION",
]
update_changelog_on_bump = true
[tool.pdm]
version = {from = "geojson_stats/__version__.py"}
distribution = true
[tool.pdm.build]
includes = ["geojson_stats"]
source-includes = ["LICENSE.md", "README.md"]
[tool.pdm.dev-dependencies]
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",
"geojson_stats/__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]
geojsonstats = "geojson_stats.cli:main"