-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
48 lines (39 loc) · 1.06 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
[tool.poetry]
name = "django-api-decorator"
version = "0.5.0"
description = "A collection of tools to build function based Django APIs"
authors = ["Oda <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/kolonialno/django-api-decorator"
repository = "https://github.com/kolonialno/django-api-decorator"
packages = [{include = "django_api_decorator"}]
[tool.poetry.dependencies]
python = "^3.11"
Django = ">=4.2.16"
pydantic = "^2.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
black = ">=23.3,<25.0"
isort = "^5.12.0"
flake8 = "^6.0.0"
pytest-django = "^4.5.2"
flake8-black = "^0.3.6"
mypy = "^1.4.1"
django-stubs = "^4.2.3"
pytest-mock = "^3.11.1"
[tool.isort]
profile = "black"
[tool.black]
target-version = ["py310"]
line-length = 88
[tool.mypy]
strict = true
plugins = ["mypy_django_plugin.main"]
[tool.django-stubs]
django_settings_module = "tests.django_settings"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.django_settings"