Skip to content
Snippets Groups Projects
Commit 280d8bb5 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'check/update-pyproject-toml' into 'master'

Update pyproject.toml

See merge request AlekSIS/onboarding/AlekSIS-App-Cursus!17
parents 0896cbe8 2e5259c6
No related branches found
No related tags found
1 merge request!17Update pyproject.toml
Pipeline #170950 canceled
......@@ -33,7 +33,7 @@ name = "gitlab"
url = "https://edugit.org/api/v4/projects/461/packages/pypi/simple"
priority = "supplemental"
[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"
aleksis-core = "^4.0.0.dev0"
[tool.poetry.plugins."aleksis.app"]
......@@ -44,19 +44,7 @@ cursus = "aleksis.apps.cursus.apps:DefaultConfig"
django-stubs = "^4.2"
safety = "^2.3.5"
flake8 = "^6.0.0"
flake8-django = "^1.0.0"
flake8-fixme = "^1.1.1"
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"
ruff = "^0.1.5"
curlylint = "^0.13.0"
......@@ -79,10 +67,6 @@ sphinxcontrib-svg2pdfconverter = "^1.1.1"
sphinx-autodoc-typehints = "^1.7"
sphinx_material = "^0.0.35"
[tool.black]
line-length = 100
exclude = "/migrations/"
[tool.curlylint]
include = '\.html'
......@@ -95,6 +79,21 @@ meta_viewport = true
no_autofocus = true
tabindex_no_positive = true
[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]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
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