mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-01 19:32:26 +02:00
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[project]
|
|
name = "la_chariotte"
|
|
version = "0.0.1"
|
|
description = "Web application for organising grouped orders"
|
|
authors = [{name = "Laetitia Getti", email = "laetitia@chariotte.fr"}]
|
|
readme = "readMe.md"
|
|
license = {file = "LICENSE"}
|
|
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
|
|
dependencies = [
|
|
"django>=4,<5",
|
|
"psycopg2-binary>=2,<3",
|
|
]
|
|
|
|
[build-system]
|
|
requires = [
|
|
"setuptools","wheel"
|
|
]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7,<8",
|
|
"pip-tools>=6,<7",
|
|
"pytest-isort>=3,<4",
|
|
"pytest-django>=4,<5",
|
|
"pytest-cov>=4,<5",
|
|
"diff-cover>=4,<5",
|
|
"pytest-black<1",
|
|
# il faudrait ajouter xhtml2pdf, mais la génération des requirements ne marche pas
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "la_chariotte.settings"
|
|
addopts = "--isort --black --reuse-db --cov-report xml --cov-report term-missing --cov=la_chariotte -p no:warnings"
|
|
isort_ignore = ["*migrations/*.py"]
|
|
|
|
[tool.isort]
|
|
skip_glob = ["*migrations/*.py"]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
exclude = '''
|
|
|
|
(
|
|
/(
|
|
| migrations
|
|
| static
|
|
)/
|
|
)
|
|
'''
|