-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (36 loc) · 1.15 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
[tool.poetry]
name = "osm-changesets"
version = "2.0.0"
description = "A website that shows changesets by an OpenStreetMap user with map images."
authors = ["Jakub Valenta <[email protected]>"]
license = "GPLv3+"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
celery = {extras = ["redis"], version = "^5.4.0"}
django-ratelimit = "^4.1.0"
django = "^5.0.9"
psycopg2 = "^2.9.9"
py-staticmaps = "^0.4.0"
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
celery-types = "^0.22.0"
django-stubs = {version = "^5.0.4", extras = ["compatible-mypy"]}
mypy = "^1.11.2"
types-requests = "^2.31.0"
[tool.django-stubs]
django_settings_module = "osm_changesets.settings"
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
[[tool.mypy.overrides]]
module = ["django_ratelimit.decorators", "staticmaps"]
ignore_missing_imports = true
[tool.ruff]
extend-exclude = ["migrations"]
line-length = 100
[tool.ruff.lint]
select = ["C90", "D", "DJ", "E", "F", "I", "N", "PT"]
ignore = ["D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "D203", "D211", "D212", "PT009"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"