Skip to content
Snippets Groups Projects
Commit 23411e2f authored by Aleksolotl's avatar Aleksolotl
Browse files

Update tox.ini

parent 46ba631a
No related branches found
No related tags found
1 merge request!10Update 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