blob: 712d60570c202ece363521021e63371c71fa1092 (
plain) (
blame)
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
|
[tool.poetry]
name = "site"
version = "1.0.0"
description = "The project responsible for maintaining our website and all of its subdomains."
authors = ["Python Discord <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "3.10.*"
django = "4.1.5"
django-environ = "0.9.0"
django-filter = "22.1"
djangorestframework = "3.14.0"
psycopg2-binary = "2.9.5"
django-simple-bulma = "2.5.0"
whitenoise = "6.2.0"
httpx = "0.23.3"
pyyaml = "6.0"
gunicorn = "20.1.0"
sentry-sdk = "1.12.1"
markdown = "3.4.1"
python-frontmatter = "1.0.0"
django-prometheus = "2.2.0"
django-distill = "3.0.2"
PyJWT = {version = "2.6.0", extras = ["crypto"]}
pymdown-extensions = "9.9"
[tool.poetry.dev-dependencies]
coverage = "7.0.5"
flake8 = "6.0.0"
flake8-annotations = "2.9.1"
flake8-bandit = "4.1.1"
flake8-bugbear = "22.12.6"
flake8-docstrings = "1.6.0"
flake8-import-order = "0.18.2"
flake8-tidy-imports = "4.8.0"
flake8-string-format = "0.3.0"
flake8-todo = "0.7"
pep8-naming = "0.13.3"
pre-commit = "2.21.0"
pyfakefs = "5.0.0"
taskipy = "1.10.3"
python-dotenv = "0.21.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
start = "python manage.py run --debug"
makemigrations = "python manage.py makemigrations"
django_shell = "python manage.py shell"
test = "coverage run manage.py test"
coverage = "coverage run manage.py test --no-input && coverage report -m"
report = "coverage report -m"
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
static = "python manage.py distill-local build --traceback --force"
|