48 lines
905 B
TOML
48 lines
905 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.11"
|
|
model-bakery = "^1.3.1"
|
|
django-environ = "^0.8.1"
|
|
whitenoise = {extras = ["brotli"], version = "^5.2.0"}
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
pytest = "^6.2"
|
|
pytest-django = "^4.4.0"
|
|
pre-commit = "^2.13.0"
|
|
invoke = "^1.6.0"
|
|
pytest-cov = "^3.0.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",
|
|
]
|