Skip to content
Snippets Groups Projects
Commit 70278bcc 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 !120
parents 176cc730 64134275
No related branches found
No related tags found
1 merge request!120Update pyproject.toml
Pipeline #157262 canceled
...@@ -40,7 +40,7 @@ name = "gitlab" ...@@ -40,7 +40,7 @@ name = "gitlab"
url = "https://edugit.org/api/v4/projects/461/packages/pypi/simple" url = "https://edugit.org/api/v4/projects/461/packages/pypi/simple"
priority = "supplemental" priority = "supplemental"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = "^3.10"
django-ldapdb = "^1.4.0" django-ldapdb = "^1.4.0"
tqdm = "^4.44.1" tqdm = "^4.44.1"
aleksis-core = {version = "^4.0.0.dev0", extras = ["ldap"]} aleksis-core = {version = "^4.0.0.dev0", extras = ["ldap"]}
...@@ -54,19 +54,7 @@ ldap = "aleksis.apps.ldap.apps:LDAPConfig" ...@@ -54,19 +54,7 @@ ldap = "aleksis.apps.ldap.apps:LDAPConfig"
django-stubs = "^4.2" django-stubs = "^4.2"
safety = "^2.3.5" safety = "^2.3.5"
flake8 = "^6.0.0" ruff = "^0.1.5"
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"
curlylint = "^0.13.0" curlylint = "^0.13.0"
...@@ -89,10 +77,21 @@ sphinxcontrib-svg2pdfconverter = "^1.1.1" ...@@ -89,10 +77,21 @@ sphinxcontrib-svg2pdfconverter = "^1.1.1"
sphinx-autodoc-typehints = "^1.7" sphinx-autodoc-typehints = "^1.7"
sphinx_material = "^0.0.35" sphinx_material = "^0.0.35"
[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] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
exclude = "/migrations/"
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