-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
102 lines (96 loc) · 2.31 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
[project]
name = "fmtm-splitter"
version = "2.0.0"
description = "A utility for splitting an AOI into multiple tasks."
authors = [
{name = "Ivan Gayton", email = "[email protected]"},
{name = "Rob Savoye", email = "[email protected]"},
{name = "Sam Woodcock", email = "[email protected]"},
{name = "Sujan Adhikari", email = "[email protected]"},
]
dependencies = [
"geojson>=2.5.0",
"shapely>=1.8.1",
"psycopg2>=2.9.1",
"numpy>=1.21.0",
"osm-rawdata>=0.2.2",
]
requires-python = ">=3.10"
readme = "README.md"
license = "GPL-3.0-only"
keywords = ["fmtm", "aoi", "split", "postgis", "hot"]
classifiers = [
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[dependency-groups]
dev = [
"commitizen>=3.6.0",
"pre-commit>=3.3.3",
]
debug = [
"debugpy>=1.6.7.post1",
"ipdb>=0.13.13",
"epdb>=0.15.1",
"codetiming>=1.4.0",
]
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",
]
api = [
"brotli==1.1.0",
"geojson-pydantic==1.1.2",
"litestar==2.13.0",
"uvicorn==0.34.0",
]
[project.urls]
homepage = "https://hotosm.github.io/fmtm-splitter"
documentation = "https://hotosm.github.io/fmtm-splitter"
repository = "https://github.com/hotosm/fmtm-splitter"
[tool.pytest.ini_options]
addopts = "-ra -q -p no:warnings"
testpaths = [
"tests",
]
pythonpath = "fmtm_splitter"
[tool.commitizen]
name = "cz_conventional_commits"
version = "2.0.0"
version_files = [
"pyproject.toml:version",
"fmtm_splitter/__version__.py",
"Makefile:VERSION",
]
update_changelog_on_bump = true
[tool.ruff]
fix = true
line-length = 88
target-version = "py310"
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"fmtm_splitter/__version__.py",
]
[tool.ruff.lint]
select = ["I", "E", "W", "D", "B", "F", "N", "Q"]
ignore = ["N805", "B008"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.sqlfluff.core]
dialect = "postgres"
templater = "placeholder"
[tool.sqlfluff.templater.placeholder]
param_style = "pyformat" # For pyformat SQL %(num_buildings)s