-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (38 loc) · 1005 Bytes
/
pyproject.toml
File metadata and controls
40 lines (38 loc) · 1005 Bytes
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
[project]
name = ""
version = ""
description = ""
authors = [
{name = "Jefferson Fragoso de Souza", email = "jefferson.fragoso@pgmais.com.br"},
]
dependencies = [
"django>=4.0.4",
"djangorestframework>=3.14.0",
"install>=1.3.5",
"django-extensions>=3.2.3",
"dependency-injector>=4.41.0",
]
requires-python = ">=3.10.2"
license = {text = "MIT"}
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool]
[tool.pdm]
[tool.pdm.dev-dependencies]
dev = [
"autopep8>=1.7.0",
"pylint>=2.15.3",
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-django>=4.5.2",
"model-bakery>=1.15.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"
pytest = "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"