forked from kolonialno/django-api-decorator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (39 loc) · 1.09 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.1.6"
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.10"
Django = ">=3"
pydantic = "^1.10.2"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
black = "^22.12.0"
isort = "^5.11.3"
flake8 = "^6.0.0"
pytest-django = "^4.5.2"
flake8-black = "^0.3.6"
mypy = "^0.981"
django-stubs = {extras = ["compatible-mypy"], version = "^1.13.1"}
pytest-mock = "^3.10.0"
[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"