forked from rl-institut/django-mapengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
51 lines (43 loc) · 1.4 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
[tool.poetry]
name = "django-mapengine"
version = "0.8.0"
description = "Map engine for maplibre in django"
authors = ["Hendrik Huyskens <[email protected]>"]
readme = "README.md"
packages = [{include = "django_mapengine"}]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
range-key-dict = "^1.1.0"
django-environ = "^0.10.0"
colorbrewer = {git = "https://github.com/henhuy/colorbrewer-python.git"}
djangorestframework = "^3.14.0"
djangorestframework-mvt = "^0.2.5"
django-appconf = "^1.0.5"
[tool.poetry.group.dev.dependencies]
django = "^3.2.3"
black = "^23.1.0"
isort = "^5.12.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 120
# select = ["ALL"]
ignore = [
"D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line pydocstyle
"ANN101", # Missing type annotation for `self` in method
"ANN003", # Missing type annotation for `**kwargs`
"EM102", # Exception must not use an f-string literal, assign to variable first
"TRY003", # Avoid specifying long messages outside the exception class
"S101", # Use of `assert` detected
"UP007", # Use `X | Y` for type annotations
"B905", # `zip()` without an explicit `strict=` parameter
]
fix = true
show-fixes = true
unfixable = ["UP007"]