Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
squareui
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
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
cubes
squareui
Commits
31f57d30b5e3
Commit
31f57d30b5e3
authored
2 years ago
by
Laurent Peuch
Browse files
Options
Downloads
Patches
Plain Diff
chore(tox): add black and black-run commands
parent
dfcc55c045ad
No related branches found
No related tags found
1 merge request
!42
chore(tox): add black and black-run commands
Pipeline
#171110
failed
2 years ago
Stage: lint
Stage: tests
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tox.ini
+15
-1
15 additions, 1 deletion
tox.ini
with
15 additions
and
1 deletion
tox.ini
+
15
−
1
View file @
31f57d30
[tox]
envlist
=
py3,flake8, check-manifest, yamllint
envlist
=
py3,flake8, check-manifest, yamllint
, black
[testenv]
deps
=
...
...
@@ -54,3 +54,17 @@
deps
=
yamllint
commands
=
yamllint
.
[testenv:black]
basepython
=
python3
skip_install
=
true
deps
=
black
>=
22.12
commands
=
black --check .
[testenv:black-run]
basepython
=
python3
skip_install
=
true
deps
=
black
>=
22.12
commands
=
black .
\ No newline at end of file
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