Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7122833
D4903.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
582 B
Subscribers
None
D4903.diff
View Options
diff --git a/jobs/templates/swh-pipeline.groovy.j2 b/jobs/templates/swh-pipeline.groovy.j2
--- a/jobs/templates/swh-pipeline.groovy.j2
+++ b/jobs/templates/swh-pipeline.groovy.j2
@@ -36,15 +36,9 @@
stage('Static analysis') {
parallel {
- stage ('flake8') {
+ stage ('pre-commit') {
steps {
- sh '''python3 -m tox -e flake8'''
- }
- }
-
- stage ('mypy') {
- steps {
- sh '''python3 -m tox -e mypy'''
+ sh '''pre-commit run -a --show-diff-on-failure'''
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 17 2024, 5:49 AM (4 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3221043
Attached To
D4903: Run pre-commit on all files, instead of flake8 and mypy
Event Timeline
Log In to Comment