Skip to content
Snippets Groups Projects
Commit f0933bb3 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch 'check/update-tox-ini' into 'master'

Update tox.ini

See merge request !113
parents 61ad23b7 6891c93c
No related branches found
No related tags found
1 merge request!113Update tox.ini
Pipeline #151380 failed
......@@ -4,7 +4,7 @@ skip_missing_interpreters = true
envlist = py39,py310,py311
[testenv]
whitelist_externals = poetry
allowlist_externals = poetry
skip_install = true
envdir = {toxworkdir}/globalenv
commands_pre =
......@@ -27,6 +27,7 @@ commands =
poetry run isort -c --diff --stdout aleksis/
poetry run flake8 {posargs} aleksis/
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 =
......@@ -67,18 +68,6 @@ known_django = django
skip = migrations
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
plugins = mypy_django_plugin.main
python_version = 3.8
platform = linux
show_column_numbers = True
follow_imports = skip
ignore_missing_imports = True
cache_dir = /dev/null
[mypy.plugins.django-stubs]
django_settings_module = aleksis.core.settings
[pytest]
DJANGO_SETTINGS_MODULE = aleksis.core.settings
junit_family = legacy
......
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