shortener/pyproject.toml

47 lines
864 B
TOML

[tool.poetry]
name = "shortener"
version = "0.1.0"
description = ""
authors = ["Gabriel Augendre <gabriel@augendre.info>"]
[tool.poetry.dependencies]
python = "^3.9"
requests = "^2.25.1"
gunicorn = "^20.1.0"
Django = "^3.2.4"
model-bakery = "^1.3.1"
pytest-django = "^4.4.0"
django-environ = "^0.4.5"
whitenoise = {extras = ["brotli"], version = "^5.2.0"}
[tool.poetry.dev-dependencies]
pytest = "^6.2"
pre-commit = "^2.13.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ['py38']
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "--color=yes"
minversion = "6.0"
DJANGO_SETTINGS_MODULE = "shortener.settings"
junit_family = "xunit1"
norecursedirs = [
".git",
".pytest_cache",
]
testpaths = [
"src",
]
python_files = [
"test_*.py",
"tests.py",
]