Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-scanner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-scanner
Merge requests
!81
Update and clean tox configuration for version 4
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update and clean tox configuration for version 4
lunar/swh-scanner:tox4-compat
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
Jérémy Bobbio (Lunar)
requested to merge
lunar/swh-scanner:tox4-compat
into
master
2 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Related to
swh/meta#4959 (closed)
0
0
Merge request reports
Viewing commit
2618b534
Show latest version
1 file
+
5
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2618b534
Update and clean tox configuration for version 4
· 2618b534
Jérémy Bobbio (Lunar)
authored
2 years ago
Related to
swh/meta#4959
tox.ini
+
5
−
6
Options
[tox]
requires
=
tox>4
envlist
=
black,flake8,mypy,py3
[testenv]
@@ -40,14 +42,13 @@ commands =
# git HEAD of swh-docs, is executed on CI for each diff to prevent
# breaking doc build
[testenv:sphinx]
white
list_externals
=
make
allow
list_externals
=
make
usedevelop
=
true
extras
=
testing
deps
=
# fetch and install swh-docs in develop mode
-e
git+https://forge.softwareheritage.org/source/swh-docs
#egg=swh.docs
-e
git+https://gitlab.softwareheritage.org/swh/devel/swh-docs.git\
#egg=swh.docs
setenv
=
SWH_PACKAGE_DOC_TOX_BUILD
=
1
# turn warnings into errors
@@ -55,18 +56,16 @@ setenv =
commands
=
make
-I
../.tox/sphinx/src/swh-docs/swh/
-C
docs
# build documentation only inside swh-environment using local state
# of swh-docs package
[testenv:sphinx-dev]
white
list_externals
=
make
allow
list_externals
=
make
usedevelop
=
true
extras
=
testing
deps
=
# install swh-docs in develop mode
-e
../swh-docs
setenv
=
SWH_PACKAGE_DOC_TOX_BUILD
=
1
# turn warnings into errors
Loading