-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
117 lines (109 loc) · 1.98 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
114
115
116
117
[tool.poetry]
name = "routing-graph-packager"
version = "1.0.0b"
description = "Backend to generate packages of routing graphs for FOSS routing engines in a job queue."
authors = [
"Nils Nolde <[email protected]>",
"Christian Beiwinkel <[email protected]>",
]
license = "MIT"
packages = [{ include = "routing_packager_app" }]
[tool.poetry.dependencies]
python = "^3.9"
SQLAlchemy = "2.0.30"
GeoAlchemy2 = "^0.11.1"
wheel = "^0.37.1"
python-dotenv = "^1.0.1"
requests = "^2.27.1"
sqlalchemy-utils = "^0.38.2"
passlib = "^1.7.4"
shapely = "^2.0.4"
gunicorn = "^20.1.0"
psycopg2-binary = "^2.9.3"
fastapi = "^0.111.0"
sqlmodel = "0.0.18"
arq = "^0.25.0"
anyio = "^3.0.0" # some anyio breaking change in 4.x breaks starlette's testclient
uvicorn = { extras = ["standard"], version = "^0.20.0" }
pydantic = "^2.7.1"
osmium = "^3.5.0"
pydantic-settings = "^2.2.1"
bump-pydantic = "^0.8.0"
[tool.poetry.dev-dependencies]
pytest = "^7.1.1"
pytest-asyncio = "^0.20.3"
pytest-cov = "^3.0.0"
pytest-httpserver = "^1.0.6"
pre-commit = "^2.17.0"
coverage = "^6.3.2"
coveralls = "^3.3.1"
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"
[tool.black]
line-length = 105
exclude = '''
/(
\.git
| \.venv
| dist
| build
)/
'''
[tool.ruff]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = ["E", "F"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"N",
"Q",
"S",
"T",
"W",
"ANN",
"ARG",
"BLE",
"COM",
"DJ",
"DTZ",
"EM",
"ERA",
"EXE",
"FBT",
"ICN",
"INP",
"ISC",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [".venv", "__pycache__", ".git"]
# Same as Black.
line-length = 105
target-version = "py312"