Skip to content
Snippets Groups Projects
Verified Commit 52396e88 authored by Aleksolotl's avatar Aleksolotl Committed by Jonathan Weth
Browse files

Update tox.ini

parent d4ae34f3
No related branches found
No related tags found
1 merge request!150Update tox.ini
[tox]
skipsdist = True
skip_missing_interpreters = true
envlist = py39,py310,py311
envlist = py310,py311,py312
[testenv]
allowlist_externals =
......@@ -24,12 +24,13 @@ setenv =
[testenv:lint]
commands_pre =
poetry install --only=dev
poetry install
yarnpkg --cwd=.dev-js
commands =
poetry run ruff check {posargs} aleksis/
yarnpkg --cwd=.dev-js run prettier --ignore-path={toxinidir}/.prettierignore {posargs} --check ..
yarnpkg --cwd=.dev-js run eslint ../aleksis/**/*/frontend/**/*.{js,vue} --config={toxinidir}/.eslintrc.js --resolve-plugins-relative-to=.
poetry run aleksis-admin graphql_schema --schema aleksis.core.schema.schema --out .dev-js/schema.json
yarnpkg --cwd=.dev-js run eslint ../aleksis/**/*/frontend/**/*.{js,vue,graphql} --config={toxinidir}/.dev-js/.eslintrc.js
[testenv:security]
commands_pre =
......@@ -42,6 +43,8 @@ commands =
commands_pre =
poetry install
poetry run sh -c "cd aleksis; aleksis-admin compilemessages"
poetry run aleksis-admin yarn install
poetry run aleksis-admin compile_scss
commands = poetry build
[testenv:docs]
......
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