Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Tezor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
AlekSIS®
Onboarding
AlekSIS-App-Tezor
Commits
7506321a
Commit
7506321a
authored
1 year ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Plain Diff
Merge branch 'check/update-tox-ini' into 'master'
Update tox.ini See merge request
!32
parents
f1d1a9c6
7c5fee98
No related branches found
Branches containing commit
No related tags found
1 merge request
!32
Update tox.ini
Pipeline
#134662
canceled
1 year ago
Stage: prepare
Stage: test
Stage: build
Stage: publish
Stage: docker
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+6
-4
6 additions, 4 deletions
tox.ini
with
6 additions
and
4 deletions
tox.ini
+
6
−
4
View file @
7506321a
[tox]
skipsdist
=
True
skip_missing_interpreters
=
true
envlist
=
py3
7
,py3
8
,py3
9
envlist
=
py3
9
,py3
10
,py3
11
[testenv]
whitelist_externals
=
poetry
sudo
skip_install
=
true
envdir
=
{toxworkdir}/globalenv
commands_pre
=
poetry
install
poetry
run
aleksis-admin
yarn
install
poetry
run
aleksis-admin
vite
build
poetry
run
aleksis-admin
collectstatic
--no-input
commands
=
poetry
run
pytest
--cov
=
. {posargs} aleksis/
...
...
@@ -27,6 +26,8 @@ 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=."
[testenv:security]
commands
=
...
...
@@ -46,6 +47,7 @@ commands = poetry run make -C docs/ html {posargs}
commands
=
poetry
run
isort
aleksis/
poetry
run
black
aleksis/
poetry
run
sh
-c
"aleksis-admin
yarn
run
prettier
--write
--ignore-path
=
{toxinidir}/.prettierignore {toxinidir}"
[testenv:makemessages]
commands
=
...
...
@@ -55,7 +57,7 @@ commands =
[flake8]
max_line_length
=
100
exclude
=
migrations,tests
ignore
=
A002,A003,
BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RST214,F821,F841,S106,T100,T101,DJ05
ignore
=
BLK100,E203,E231,W503,D100,D101,D102,D103,D104,D105,D106,D107,RST215,RST214,F821,F841,S106,T100,T101,DJ05
[isort]
profile
=
black
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment