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

Update tox.ini

parent 9ee3528b
No related branches found
No related tags found
1 merge request!16Update .eslintrc.js
Pipeline #133349 failed
......@@ -5,8 +5,6 @@ envlist = py39,py310,py311
[testenv]
whitelist_externals = poetry
sudo
sh
skip_install = true
envdir = {toxworkdir}/globalenv
commands_pre =
......@@ -28,8 +26,8 @@ commands =
poetry run black --check --diff aleksis/
poetry run isort -c --diff --stdout aleksis/
poetry run flake8 {posargs} aleksis/
sh -c "aleksis-admin yarn run prettier --check --ignore-path=$(pwd)/.prettierignore $(pwd)"
sh -c "aleksis-admin yarn run eslint $(pwd)/aleksis/**/*/frontend/**/*.{js,vue} --config=$(pwd)/.eslintrc.js --resolve-plugins-relative-to=."
poetry run sh -c "aleksis-admin yarn run prettier --check --ignore-path={toxinidir}/.prettierignore {toxinidir}"
poetry run sh -c "aleksis-admin yarn run eslint {toxinidir}/aleksis/**/*/frontend/**/*.{js,vue} --config={toxinidir}/.eslintrc.js --resolve-plugins-relative-to=."
[testenv:security]
commands =
......@@ -49,7 +47,7 @@ commands = poetry run make -C docs/ html {posargs}
commands =
poetry run isort aleksis/
poetry run black aleksis/
sh -c "aleksis-admin yarn run prettier --write --ignore-path=$(pwd)/.prettierignore $(pwd)"
poetry run sh -c "aleksis-admin yarn run prettier --write --ignore-path={toxinidir}/.prettierignore {toxinidir}"
[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