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 = ...@@ -25,11 +25,11 @@ setenv =
[testenv:lint] [testenv:lint]
commands_pre = commands_pre =
poetry install --only=dev poetry install --only=dev
yarnpkg yarnpkg --cwd=.dev-js
commands = commands =
poetry run ruff check {posargs} aleksis/ poetry run ruff check {posargs} aleksis/
yarnpkg run prettier {posargs} --check . yarnpkg --cwd=.dev-js run prettier --ignore-path={toxinidir}/.prettierignore {posargs} --check ..
yarnpkg run eslint aleksis/**/*/frontend/**/*.{js,vue} yarnpkg --cwd=.dev-js run eslint ../aleksis/**/*/frontend/**/*.{js,vue} --config={toxinidir}/.eslintrc.js
[testenv:security] [testenv:security]
commands_pre = commands_pre =
...@@ -52,10 +52,10 @@ commands = poetry run make -C docs/ html {posargs} ...@@ -52,10 +52,10 @@ commands = poetry run make -C docs/ html {posargs}
[testenv:reformat] [testenv:reformat]
commands_pre = commands_pre =
poetry install --only=dev poetry install --only=dev
yarnpkg yarnpkg --cwd=.dev-js
commands = commands =
poetry run ruff format aleksis/ poetry run ruff format aleksis/
yarnpkg run prettier --write . yarnpkg --cwd=.dev-js run prettier --ignore-path={toxinidir}/.prettierignore --write ..
[testenv:makemessages] [testenv:makemessages]
commands_pre = 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