Page MenuHomeSoftware Heritage

D4903.diff
No OneTemporary

D4903.diff

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

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

Event Timeline