-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
47 lines (45 loc) · 1.19 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
[project]
name = ""
version = ""
description = ""
authors = [
{name = "Luiz Carlos", email = "[email protected]"},
]
dependencies = [
"django>=4.0.4",
"djangorestframework>=3.13.1",
"django-extensions>=3.1.5",
"dependency-injector>=4.39.1",
"pydantic>=1.10.7",
"dj-database-url>=1.3.0",
"python-dotenv>=1.0.0",
"mysqlclient>=2.1.1",
"colorama>=0.4.6",
]
requires-python = ">=3.10"
license = {text = "MIT"}
[project.optional-dependencies]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"autopep8>=1.6.0",
"pylint>=2.13.0",
"pytest>=7.1.1",
"pytest-cov>=3.0.0",
"pytest-django>=4.5.2",
"model-bakery>=1.6.0",
"faker>=15.0.0",
]
[tool.pdm.scripts]
manage="python ./src/django_app/manage.py"
pep8 = "autopep8 --in-place --recursive ./src"
pylint = "pylint ./src"
runserver = "pdm run manage runserver 0.0.0.0:8000"
test = "pytest --ignore __pypackages__"
test_cov = "pdm run test --cov ./src --cov-fail-under 80"
test_cov_html = "pdm run test_cov --cov-report html:./__coverage"
test_e2e = "pdm run test --group e2e"
test_e2e_cov = "pdm run test_cov --group e2e"
[build-system]
requires = ["pdm-pep517>=0.12.0"]
build-backend = "pdm.pep517.api"