generated from Piwero/template-django-linting
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
71 lines (65 loc) · 1.33 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[tool.poetry]
name = "crud-auth-github"
version = "2"
description = ""
authors = ["piwero <[email protected]>"]
readme = "README.md"
[tool.poetry.dependencies]
asgiref = "^3.7.2"
Django = "^5.0.0"
django-allauth = "^0.54.0"
django-crispy-forms = "^1.14.0"
dj-database-url = "^2.0.0"
gunicorn = "^23.0.0"
psycopg2-binary = "^2.9.3"
python = "^3.10"
python-decouple = "^3.6"
sqlparse = "^0.5.0"
whitenoise = "^6.2.0"
[tool.poetry.group.dev.dependencies]
black = "^24.0.0"
django-debug-toolbar = "^4.1.0"
django-extensions = "^3.2.3"
mypy = "^1.2.0"
ipdb = "^0.13.13"
isort = "^5.12.0"
pre-commit = "^4.0.0"
pytest = "^8.0.0"
pytest-cov = "^6.0.0"
pytest-django = "^4.5.2"
pytest-xdist = "^3.2.1"
ruff = "^0.4.0"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "core.settings.test_settings"
python_files = ["test_*.py", "*_test.py", "testing/python/*.py"]
[tool.ruff]
select = ["E","F","I"]
ignore = ["E501",]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"**/migrations",
"settings.py"
]
line-length = 88
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"