[tool.poetry] name = "site" version = "1.0.0" description = "The project responsible for maintaining our website and all of its subdomains." authors = ["Python Discord "] license = "MIT" [tool.poetry.dependencies] python = "3.9.*" django = "4.0" # 4.1 blocked by upstream bug, wait for 4.1.1: https://code.djangoproject.com/ticket/33919 django-environ = "0.9.0" django-filter = "22.1" djangorestframework = "3.13.1" psycopg2-binary = "2.9.3" django-simple-bulma = "2.5.0" whitenoise = "6.2.0" httpx = "0.23.0" pyyaml = "6.0" gunicorn = "20.1.0" sentry-sdk = "1.9.5" markdown = "3.4.1" python-frontmatter = "1.0.0" django-prometheus = "2.2.0" django-distill = "3.0.1" PyJWT = {version = "2.4.0", extras = ["crypto"]} [tool.poetry.dev-dependencies] coverage = "6.4.4" flake8 = "5.0.4" flake8-annotations = "2.9.1" # flake8-bandit is broken at the moment with flake8 v5: https://github.com/tylerwince/flake8-bandit/pull/35 # flake8-bandit = "3.0.0" flake8-bugbear = "22.7.1" flake8-docstrings = "1.6.0" flake8-import-order = "0.18.1" flake8-tidy-imports = "4.8.0" flake8-string-format = "0.3.0" flake8-todo = "0.7" pep8-naming = "0.13.1" pre-commit = "2.20.0" pyfakefs = "4.6.3" coveralls = "3.3.1" taskipy = "1.10.2" python-dotenv = "0.20.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"