Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AleKSIS-App-EvaLU
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Katharineum zu Lübeck
AleKSIS-App-EvaLU
Merge requests
!44
Check/update tox ini
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Check/update tox ini
check/update-tox-ini
into
master
Overview
0
Commits
2
Pipelines
7
Changes
1
Merged
Jonathan Weth
requested to merge
check/update-tox-ini
into
master
1 year ago
Overview
0
Commits
2
Pipelines
7
Changes
1
Expand
0
0
Merge request reports
Viewing commit
fa783363
Prev
Next
Show latest version
1 file
+
21
−
37
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
fa783363
Update tox.ini
· fa783363
Jonathan Weth
authored
1 year ago
tox.ini
+
21
−
37
Options
@@ -4,11 +4,12 @@ skip_missing_interpreters = true
envlist
=
py39,py310,py311
[testenv]
allowlist_externals
=
poetry
allowlist_externals
=
poetry
yarnpkg
skip_install
=
true
envdir
=
{toxworkdir}/globalenv
commands_pre
=
poetry
install
poetry
install
--all-extras
poetry
run
aleksis-admin
vite
build
poetry
run
aleksis-admin
collectstatic
--no-input
commands
=
@@ -22,14 +23,17 @@ setenv =
TEST_HOST
=
{env:TEST_HOST:172.17.0.1}
[testenv:lint]
commands_pre
=
poetry
install
--only
=
dev
yarnpkg
--cwd
=
.dev-js
commands
=
poetry
run
black
--check
--diff
aleksis/
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=."
poetry
run
ruff
check
{posargs}
aleksis/
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 --resolve-plugins-relative-to=.
[testenv:security]
commands_pre
=
poetry
install
--all-extras
commands
=
poetry
show
--no-dev
poetry
run
safety
check
--full-report
@@ -41,45 +45,25 @@ commands_pre =
commands
=
poetry build
[testenv:docs]
commands_pre
=
poetry
install
--with
docs
commands
=
poetry run make -C docs/ html {posargs}
[testenv:reformat]
commands_pre
=
poetry
install
--only
=
dev
yarnpkg
--cwd
=
.dev-js
commands
=
poetry
run
isort
aleksis/
poetry
run
black
aleksis/
poetry
run
sh
-c
"aleksis-admin
yarn
run
prettier
--write
--ignore-path
=
{toxinidir}/.prettierignore {toxinidir}"
poetry
run
ruff
format
aleksis/
yarnpkg
--cwd
=
.dev-js run prettier --ignore-path={toxinidir}/.prettierignore --write ..
[testenv:makemessages]
commands_pre
=
poetry
install
commands
=
poetry
run
aleksis-admin
makemessages
--no-wrap
-e
html,txt,py,email
-i
static
-l
ar
-l
de_DE
-l
fr
-l
nb_NO
-l
tr_TR
-l
la
-l
uk
-l
ru
poetry
run
aleksis-admin
makemessages
--no-wrap
-d
djangojs
-i
**/node_modules
-l
ar
-l
de_DE
-l
fr
-l
nb_NO
-l
tr_TR
-l
la
-l
uk
-l
ru
[flake8]
max_line_length
=
100
exclude
=
migrations,tests
ignore
=
BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RST214,F821,F841,S106,T100,T101,DJ05
[isort]
profile
=
black
line_length
=
100
default_section
=
THIRDPARTY
known_first_party
=
aleksis
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
Loading