[project] name = "la_chariotte" dynamic = ["version"] description = "Web application for organising grouped orders" authors = [{name = "Laetitia Getti", email = "contact@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", "sentry-sdk<1", "xhtml2pdf>=0.2.11,<1", "icalendar>=5.0.7,<6", "base36>=0.1.1,<1", "django-weasyprint==1.1.0.post1", # see below "weasyprint==52.5", # pin weasyprint to not depend on latest libpango "html2text>=2020.1.16", "django-crispy-forms>=2.0,<3", "crispy-bulma>=0.11.0,<1", "django-compressor>=4.4,<5", "django-sass-processor>=1.4,<2", "libsass>=0.22.0,<1", ] [tool.setuptools] py-modules = ["la_chariotte"] [tool.setuptools.dynamic] version = {attr = "la_chariotte.__version__"} [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", "pymdown-extensions==10.4", "pytest-black<1", ] [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "la_chariotte.settings" addopts = "-x --ff --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"] profile = "black" [tool.black] line-length = 88 exclude = ''' ( /( | migrations | static | .venv )/ ) '''