-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
85 lines (75 loc) · 1.85 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
[tool.poetry]
name = "ohsome_quality_api"
version = "1.7.0"
description = "Data quality estimations for OpenStreetMap."
authors = ["ohsome team <[email protected]>"]
homepage = "https://api.quality.ohsome.org"
repository = "https://github.com/GIScience/ohsome-quality-api"
keywords = [
"osm",
"gis",
"geography",
"metric",
"ohsome",
"quality",
]
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[[tool.poetry.source]]
name = "gistools-ohsome-machine-learning-models"
url = "https://gitlab.gistools.geog.uni-heidelberg.de/api/v4/groups/277/-/packages/pypi/simple"
priority = "supplemental"
[tool.poetry.dependencies]
python = "^3.10"
geojson = "^2.5.0"
fastapi = "^0.109.2"
requests = "^2.32.0"
PyYAML = "^6.0"
toml = "^0.10.2"
httpx = "^0.23.0"
asyncpg = "^0.29.0"
vcrpy = "^4.1.1"
python-dateutil = "^2.8.2"
scipy = "^1.9.3"
rpy2 = "^3.5.15"
click = "^8.1.2"
uvicorn = "^0.20.0"
schema = "^0.7.5"
pyproj = "^3.6.0"
pydantic = "^2.1.1"
geojson-pydantic = "^1.0.0"
plotly = "^5.16.1"
psycopg = {extras = ["binary"], version = "^3.1.13"}
async-lru = "^2.0.4"
approvaltests = "^12.1.0"
[tool.poetry.dev-dependencies]
pre-commit = "^3.2.1"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
pytest-mock = "^3.11.1"
[tool.poetry.urls]
"Issues" = "https://github.com/GIScience/ohsome-quality-api/issues"
[tool.poetry.group.dev.dependencies]
ruff = "^0.4.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
select = [
"E", # pycodestyle Error
"F", # Pyflakes
"I", # isort
"N", # pep8-nameing
"Q", # flake8-quotes
"W", # pycodestyle Warning
"C90", # mccabe
]
[tool.ruff.lint.per-file-ignores]
"ohsome_quality_api/indicators/mapping_saturation/models.py" = [
"N803",
"N806",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["ignore::DeprecationWarning"]