-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
61 lines (55 loc) · 1.34 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
[tool.poetry]
name = "cpmonitor"
version = "0.1.0"
description = "A website to maintain the progress of a municipality towards net zero."
authors = ["Your Name <[email protected]>"]
readme = "README.md"
packages = [
{ include = "cpmonitor" },
{ include = "config" },
]
[tool.poetry.dependencies]
python = "^3.10"
django = "^4.1.6"
gunicorn = "^21.2.0"
django-treebeard = "^4.6.1"
martor = "1.6.26"
pillow = "^10.1.0"
rules = "^3.3"
django-invitations = "^2.0.0"
django-allauth = "^0.58.2"
djangorestframework = "^3.15.1"
django-cors-headers = "^4.3.1"
[tool.pyright]
venvPath = "."
venv = ".venv"
include = ["cpmonitor"]
pythonVersion = "3.10"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
pre-commit = "^3.0.4"
pyright = "^1.1.292"
pytest = "^7.2.1"
pytest-env = "^1.1.1"
pytest-playwright = "^0.4.3"
pytest-base-url = "^2.0.0"
pytest-django = "^4.5.2"
djlint = "^1.30.2"
django-test-migrations = "^1.2.0"
freezegun = "^1.4.0"
[build-system]
requires = ["poetry-core>=1.3.2"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
norecursedirs = "e2e_tests"
env = [
"DJANGO_SETTINGS_MODULE=config.settings.container",
"DJANGO_SECRET_KEY=somePlaceholder",
"DJANGO_CSRF_TRUSTED_ORIGINS=http://localhost",
"DJANGO_DEBUG=True",
"DJANGO_ALLOW_ASYNC_UNSAFE=True",
]
[tool.djlint]
ignore = "H017,H031"
indent = 2
quiet = true