Skip to content
Snippets Groups Projects
Commit 989ac14a authored by Aleksolotl's avatar Aleksolotl
Browse files

Update pyproject.toml

parent 8dd0488c
No related branches found
No related tags found
1 merge request!54Update pyproject.toml
Pipeline #197467 failed
[build-system]
requires = [ "poetry-core>=1.0.0",]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
......@@ -9,30 +9,50 @@ readme = "README.rst"
include = [ "CHANGELOG.rst", "LICENCE.rst",]
description = "AlekSIS (School Information System)\u200a—\u200aApp 𝓔𝔁𝓛𝓲𝓫𝓻𝓲𝓼 (Library management)"
authors = [ "Dominik George <dominik.george@teckids.org>", "Tom Teichler <tom.teichler@teckids.org>",]
license = "EUPL-1.2"
homepage = "https://aleksis.edugit.io/"
license = "EUPL-1.2-or-later"
homepage = "https://aleksis.org"
repository = "https://edugit.org/AlekSIS/Official/AlekSIS-App-Exlibris"
documentation = "https://aleksis.edugit.io/AlekSIS/docs/html/"
classifiers = [ "Environment :: Web Environment", "Intended Audience :: Education", "Topic :: Education",]
maintainers = ["Jonathan Weth <jonathan.weth@teckids.org>", "Dominik George <dominik.george@teckids.org>"]
[[tool.poetry.packages]]
include = "aleksis"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[[tool.poetry.source]]
name = "gitlab"
url = "https://edugit.org/api/v4/projects/461/packages/pypi/simple"
priority = "secondary"
priority = "supplemental"
[tool.poetry.group.dev.dependencies]
django-stubs = "^4.2"
safety = "^2.3.5"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
ruff = "^0.8.2"
[tool.black]
line-length = 100
exclude = [ "/migrations/",]
[tool.poetry.group.test.dependencies]
pytest = "^8.3"
pytest-django = "^4.9"
pytest-django-testing-postgresql = "^0.2"
pytest-cov = "^6.0.0"
pytest-sugar = "^1.0.0"
selenium = "^4.27.0"
freezegun = "^1.5.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.poetry.dependencies]
python = "^3.9"
python = "^3.10"
django-isbn-field = "^0.5.2"
isbnlib = "^3.9"
isbnlib-dnb = "^0.0.4"
......@@ -40,8 +60,23 @@ pylabels = "^1.2"
reportlab = "^3.5"
aleksis-core = "^2.0a3.dev0"
[tool.poetry.dev-dependencies]
aleksis-builddeps = "*"
[tool.poetry.plugins."aleksis.app"]
exlibris = "aleksis.apps.exlibris.apps:ExlibrisConfig"
[tool.ruff]
line-length = 100
exclude = ["migrations"]
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "SIM", "I", "DJ", "A", "S"]
ignore = ["UP034", "UP015", "B028"]
[tool.ruff.lint.extend-per-file-ignores]
"**/*/tests/**/*.py" = ["S101", "ARG", "FBT", "PLR2004", "S311", "S105"]
[tool.ruff.lint.isort]
known-first-party = ["aleksis"]
section-order = ["future", "standard-library", "django", "third-party", "first-party", "local-folder"]
[tool.ruff.lint.isort.sections]
django = ["django"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment