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

Update tox.ini

parent 1ca4aa68
No related branches found
No related tags found
1 merge request!343Update tox.ini
......@@ -25,11 +25,11 @@ setenv =
[testenv:lint]
commands_pre =
poetry install --only=dev
yarnpkg
yarnpkg --cwd=.dev-js
commands =
poetry run ruff check {posargs} aleksis/
yarnpkg run prettier {posargs} --check .
yarnpkg run eslint aleksis/**/*/frontend/**/*.{js,vue}
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
[testenv:security]
commands_pre =
......@@ -52,10 +52,10 @@ commands = poetry run make -C docs/ html {posargs}
[testenv:reformat]
commands_pre =
poetry install --only=dev
yarnpkg
yarnpkg --cwd=.dev-js
commands =
poetry run ruff format aleksis/
yarnpkg run prettier --write .
yarnpkg --cwd=.dev-js run prettier --ignore-path={toxinidir}/.prettierignore --write ..
[testenv:makemessages]
commands_pre =
......
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