Skip to content
Snippets Groups Projects
Commit 0d6febc3 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Bump requirement for aleksis-core to 3.0dev3 and adapt tox config

parent fd7d5753
No related branches found
No related tags found
1 merge request!79Allow core 3.0
Pipeline #111202 failed
......@@ -41,7 +41,7 @@ python = "^3.9"
feedparser = "^6.0.0"
django-feed-reader = "^1.0.0"
ics = "^0.7"
AlekSIS-Core = "^3.0.dev0"
aleksis-core = "^3.0.dev3"
[tool.poetry.dev-dependencies]
aleksis-builddeps = "*"
......
......@@ -10,7 +10,7 @@ skip_install = true
envdir = {toxworkdir}/globalenv
commands_pre =
poetry install
poetry run aleksis-admin webpack_bundle
poetry run aleksis-admin vite build
poetry run aleksis-admin collectstatic --no-input
commands =
poetry run pytest --cov=. {posargs} aleksis/
......@@ -27,6 +27,8 @@ commands =
poetry run black --check --diff aleksis/
poetry run isort -c --diff --stdout aleksis/
poetry run flake8 {posargs} aleksis/
node cache/node_modules/.bin/prettier --check .
node cache/node_modules/.bin/eslint aleksis/**/*/frontend/**/*.{js,vue}
[testenv:security]
commands =
......@@ -46,6 +48,7 @@ commands = poetry run make -C docs/ html {posargs}
commands =
poetry run isort aleksis/
poetry run black aleksis/
node cache/node_modules/.bin/prettier --write .
[testenv:makemessages]
commands =
......
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