2020-08-14 14:53:30 +02:00
|
|
|
[tool.black]
|
|
|
|
target-version = ['py38']
|
2020-08-18 07:23:59 +02:00
|
|
|
|
2020-09-05 09:05:06 +02:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
|
2020-08-18 07:23:59 +02:00
|
|
|
[tool.pytest.ini_options]
|
2020-12-26 17:11:43 +01:00
|
|
|
addopts = "--color=yes"
|
2020-08-18 07:23:59 +02:00
|
|
|
minversion = "6.0"
|
|
|
|
DJANGO_SETTINGS_MODULE = "blog.settings"
|
|
|
|
testpaths = [
|
|
|
|
"articles",
|
2020-09-05 09:05:06 +02:00
|
|
|
"blog",
|
2020-12-03 22:30:11 +01:00
|
|
|
"attachments",
|
2020-08-18 07:23:59 +02:00
|
|
|
]
|
2021-03-04 20:03:05 +01:00
|
|
|
env = [
|
|
|
|
"GOATCOUNTER_DOMAIN=gc.gabnotes.org"
|
|
|
|
]
|
2020-11-11 09:38:37 +01:00
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
name = "blog"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = ""
|
|
|
|
authors = ["Gabriel Augendre <gabriel@augendre.info>"]
|
|
|
|
license = "GPLv3"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2021-12-19 20:40:51 +01:00
|
|
|
python = "^3.10"
|
2021-12-19 20:29:18 +01:00
|
|
|
django = "^4.0"
|
2020-11-11 09:38:37 +01:00
|
|
|
markdown = "^3.2"
|
|
|
|
gunicorn = "^20.0"
|
|
|
|
Pygments = "^2.6"
|
2021-12-19 20:29:18 +01:00
|
|
|
django-anymail = {version = "^8.4", extras = ["mailgun"]}
|
|
|
|
pillow = "^8.4"
|
2020-11-11 09:38:37 +01:00
|
|
|
django-cleanup = "^5.0"
|
|
|
|
requests = "^2.24"
|
2020-11-29 08:32:46 +01:00
|
|
|
html2text = "^2020.1.16"
|
2020-12-28 08:04:28 +01:00
|
|
|
readtime = "^1.1.1"
|
2021-01-05 02:36:20 +01:00
|
|
|
pylibmc = "^1.6.1"
|
2021-03-20 19:59:53 +01:00
|
|
|
django-debug-toolbar = "^3.2"
|
2021-03-21 15:30:16 +01:00
|
|
|
whitenoise = {extras = ["brotli"], version = "^5.2.0"}
|
|
|
|
rcssmin = "^1.0.6"
|
2021-03-21 16:00:33 +01:00
|
|
|
django-csp = "^3.7"
|
2020-11-11 09:38:37 +01:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
pre-commit = "^2.7"
|
|
|
|
pytest = "^6.0"
|
2021-12-19 20:29:18 +01:00
|
|
|
pytest-django = "^4.5"
|
2020-11-11 09:38:37 +01:00
|
|
|
model-bakery = "^1.1"
|
2021-12-19 20:29:18 +01:00
|
|
|
pytest-cov = "^3.0"
|
|
|
|
pytest-recording = "^0.12.0"
|
|
|
|
pytest-rerunfailures = "^10.2"
|
2021-03-04 20:03:05 +01:00
|
|
|
pytest-env = "^0.6.2"
|
2021-12-19 20:29:18 +01:00
|
|
|
poetry-deps-scanner = "^1.0.1"
|
2020-11-11 09:38:37 +01:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|