diff --git a/pyproject.toml b/pyproject.toml index 6de58de768e86b6ad1aa7f42592c3cfb2279b17e..c14f188a28e9030cfdacf2c6b0a525bb7d288f64 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ include = ["CHANGELOG.rst", "LICENCE.rst", "aleksis/**/*.mo"] description = "AlekSIS (School Information System) — App Kort (manage student IDs)" authors = ["Margarete Grassl <grasslma@katharineum.de>", "Jonathan Weth <dev@jonathanweth.de>"] -license = "EUPL-1.2" +license = "EUPL-1.2-or-later" homepage = "https://aleksis.org" repository = "https://edugit.org/AlekSIS/onboarding/AlekSIS-App-Kort" classifiers = [ @@ -17,12 +17,16 @@ classifiers = [ "Intended Audience :: Education", "Topic :: Education" ] +maintainers = ["Jonathan Weth <dev@jonathanweth.de>", "Dominik George <dominik.george@teckids.org>"] + +[[tool.poetry.source]] +name = "PyPI" +priority = "primary" [[tool.poetry.source]] name = "gitlab" url = "https://edugit.org/api/v4/projects/461/packages/pypi/simple" -secondary = true - +priority = "supplemental" [tool.poetry.dependencies] python = "^3.9" aleksis-core = "^3.0" @@ -30,12 +34,51 @@ python-barcode = "^0.15.0" django-formtools = "^2.3" django-ace = "^1.0.12" -[tool.poetry.dev-dependencies] -aleksis-builddeps = "*" - [tool.poetry.plugins."aleksis.app"] kort = "aleksis.apps.kort.apps:DefaultConfig" + +[tool.poetry.group.dev.dependencies] +django-stubs = "^4.2" + +safety = "^2.3.5" + +flake8 = "^6.0.0" +flake8-django = "^1.0.0" +flake8-fixme = "^1.1.1" +flake8-mypy = "^17.8.0" +flake8-bandit = "^4.1.1" +flake8-builtins = "^2.0.0" +flake8-docstrings = "^1.5.0" +flake8-rst-docstrings = "^0.3.0" + +black = ">=21.0" +flake8-black = "^0.3.0" + +isort = "^5.0.0" +flake8-isort = "^6.0.0" + +curlylint = "^0.13.0" + +[tool.poetry.group.test.dependencies] +pytest = "^7.2" +pytest-django = "^4.1" +pytest-django-testing-postgresql = "^0.2" +pytest-cov = "^4.0.0" +pytest-sugar = "^0.9.2" +selenium = "<4.10.0" +freezegun = "^1.1.0" + +[tool.poetry.group.docs] +optional = true + +[tool.poetry.group.docs.dependencies] +sphinx = "^7.0" +sphinxcontrib-django = "^2.3.0" +sphinxcontrib-svg2pdfconverter = "^1.1.1" +sphinx-autodoc-typehints = "^1.7" +sphinx_material = "^0.0.35" + [tool.black] line-length = 100 exclude = "/migrations/" @@ -53,5 +96,5 @@ no_autofocus = true tabindex_no_positive = true [build-system] -requires = ["poetry>=1.0"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api"