Skip to content
Snippets Groups Projects
pyproject.toml 2.55 KiB
Newer Older
[tool.poetry]
name = "AlekSIS-App-Tezor"
Tom Teichler's avatar
Tom Teichler committed
version = "2.0.dev3"
packages = [
    { include = "aleksis" }
]
readme = "README.rst"
include = [
    { path = "aleksis/**/*.mo", format = ["sdist", "wheel"] },
    { path = "*.rst", format = "sdist" },
    { path = "tox.ini", format = "sdist" }
]

description = "AlekSIS (School Information System) — App Tezor (account and payment system)"
authors = ["Dominik George <dominik.george@teckids.org>", "Tom Teichler <tom.teichler@teckids.org>"]
license = "EUPL-1.2-or-later"
homepage = "https://aleksis.org"
repository = "https://edugit.org/AlekSIS/onboarding//AlekSIS-App-Tezor"
documentation = "https://aleksis.org/official/AlekSIS/docs/html/"
classifiers = [
    "Environment :: Web Environment",
    "Intended Audience :: Education",
    "Topic :: Education"
]
Aleksolotl's avatar
Aleksolotl committed
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"
Aleksolotl's avatar
Aleksolotl committed
priority = "supplemental"
Tom Teichler's avatar
Tom Teichler committed

[tool.poetry.dependencies]
Tom Teichler's avatar
Tom Teichler committed
python = "^3.10"
Tom Teichler's avatar
Tom Teichler committed
django-payments-sepa = { version = "^1.2.dev0", allow-prereleases = true, extras = ["fints"] }
Tom Teichler's avatar
Tom Teichler committed
aleksis-core = "^4.0.0.dev3"
django-payments = { version = "^1.0.0", extras = ["sofort"] }

[tool.poetry.plugins."aleksis.app"]
tezor = "aleksis.apps.tezor.apps:DefaultConfig"

Aleksolotl's avatar
Aleksolotl committed
[tool.poetry.group.dev.dependencies]
django-stubs = "^4.2"
safety = "^2.3.5"

Tom Teichler's avatar
Tom Teichler committed
ruff = "^0.1.5"
Aleksolotl's avatar
Aleksolotl committed

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"
Aleksolotl's avatar
Aleksolotl committed
selenium = "<4.10.0"
Aleksolotl's avatar
Aleksolotl committed
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.curlylint]
include = '\.html'

[tool.curlylint.rules]
aria_role = true
django_forms_rendering = true
image_alt = true
indent = 2
meta_viewport = true
no_autofocus = true
tabindex_no_positive = true

Tom Teichler's avatar
Tom Teichler committed

[tool.ruff]
exclude = ["migrations", "tests"]
line-length = 100

[tool.ruff.lint]
select = ["E", "F", "UP", "B", "SIM", "I", "DJ", "A", "S"]
ignore = ["UP034", "UP015", "B028"]

[tool.ruff.isort]
known-first-party = ["aleksis"]
section-order = ["future", "standard-library", "django", "third-party", "first-party", "local-folder"]

[tool.ruff.isort.sections]
django = ["django"]
[build-system]
Aleksolotl's avatar
Aleksolotl committed
requires = ["poetry-core>=1.0.0"]