Skip to content
Snippets Groups Projects

Update pyproject.toml

Merged Jonathan Weth requested to merge check/update-pyproject-toml into master
1 file
+ 17
19
Compare changes
  • Side-by-side
  • Inline
+ 17
19
@@ -27,7 +27,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 = "^3.0"
cryptography = "^41.0.0"
django-formtools = "^2.3"
@@ -41,20 +41,7 @@ evalu = "aleksis.apps.evalu.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-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"
ruff = "^0.1.5"
curlylint = "^0.13.0"
@@ -77,10 +64,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'
@@ -93,6 +76,21 @@ meta_viewport = true
no_autofocus = true
tabindex_no_positive = true
[tool.ruff]
line-length = 100
exclude = ["migrations", "tests"]
[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"
Loading