-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
49 lines (43 loc) · 867 Bytes
/
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
[tool.poetry]
name = "my-app"
version = "0.1.0"
description = ""
authors = ["Your Name <your.name@example.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
django = ">=4.2"
psycopg2 = "^2.9.5"
uvicorn = "*"
gunicorn = "*"
django-ninja = "*"
django-ninja-jwt = "*"
[tool.poetry.group.dev.dependencies]
black = "*"
isort = "*"
flake8 = "*"
pytest = "*"
pytest-django = "*"
django-extensions = "*"
watchfiles = "*"
factory-boy = "*"
mypy = "*"
django-stubs = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py311']
exclude = "(.*/migrations/.*py)"
[tool.isort]
profile = "black"
skip_glob = [
"*/migrations/*",
]
overwrite_in_place = "true"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "myapp.settings.test"
python_files = [
"test_*.py",
"tests.py",
]