diff --git a/pyproject.toml b/pyproject.toml index f1aff7e87143b4bb98d8be89280475d7759446a2..b277f655bc96586fa60332353fcf4bed1c4df251 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,12 +24,9 @@ authors = [ "Hangzhi Yu <yuha@katharineum.de>", "Lloyd Meins <meinsll@katharineum.de>" ] -maintainers = [ - "Jonathan Weth <wethjo@katharineum.de>", - "Dominik George <dominik.george@teckids.org>" -] +maintainers = ["Jonathan Weth <dev@jonathanweth.de>", "Dominik George <dominik.george@teckids.org>"] license = "EUPL-1.2-or-later" -homepage = "https://aleksis.org/" +homepage = "https://aleksis.org" repository = "https://edugit.org/AlekSIS/official/AlekSIS-App-Chronos" documentation = "https://aleksis.org/AlekSIS/docs/html/" keywords = ["SIS", "education", "school", "timetable", "plans"] @@ -42,27 +39,69 @@ classifiers = [ "Typing :: Typed", ] +[[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 = "secondary" [tool.poetry.dependencies] python = "^3.9" calendarweek = "^0.5.0" aleksis-core = "^3.0" aleksis-app-resint = "^3.0" -[tool.poetry.dev-dependencies] -aleksis-builddeps = "*" - [tool.poetry.plugins."aleksis.app"] chronos = "aleksis.apps.chronos.apps:ChronosConfig" + +[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.0.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/" [build-system] -requires = ["poetry>=1.0"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api"