-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (69 loc) · 2.03 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
[tool.poetry]
name = "tessellation"
version = "0.8.2"
description = "A web app to arrange tiles according to specified rules."
authors = ["Jakub Valenta <jakub@jakubvalenta.cz>"]
license = "GPL-3.0-or-later"
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Django :: 5.0",
"Intended Audience :: End Users/Desktop",
"Topic :: Artistic Software",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
[tool.poetry.dependencies]
cairosvg = "^2.7.1"
django = "^5.0.9"
django-cleanup = "^8.1.0"
django-debug-toolbar = "^4.3.0"
django-unused-media = "^0.2.2"
django-webpack-loader = "^3.1.0"
djangorestframework = "^3.14.0"
drf-base64 = "^2.0"
pillow = "^10.3.0"
psycopg2 = "^2.9.9"
python = "^3.10"
[tool.poetry.group.dev.dependencies]
coverage = "^7.6.4"
ruff = "^0.7.2"
pytest-django = "^4.9.0"
mypy = "^1.11.2"
django-stubs = {version = "^5.0.4", extras = ["compatible-mypy"]}
djangorestframework-stubs = {extras = ["compatible-mypy"], version = "^3.15.1"}
[tool.coverage.report]
exclude_lines = [
"def __repr__",
"def __str__"
]
[tool.coverage.run]
omit = [
"*/apps.py",
"*/conf/*",
"*/migrations/*",
"*/tests/*",
"manage.py",
"setup.py"
]
[tool.mypy]
plugins = ["mypy_django_plugin.main", "mypy_drf_plugin.main"]
[[tool.mypy.overrides]]
module = ["cairosvg", "drf_base64.fields"]
ignore_missing_imports = true
[tool.django-stubs]
django_settings_module = "conf.settings_test"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "conf.settings_test"
[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"