Skip to content

Commit 0500403

Browse files
author
Abderrahim AZIME
committed
Corrections
1 parent 6072bce commit 0500403

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/workflow.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,11 @@ jobs:
7878
7979
- name: install dependencies
8080
run: |
81-
apt-get update && apt-get install -y protobuf-compiler clang-format 2to3
8281
pip3 install -r requirements_pre-commit.txt --upgrade
82+
83+
- name: Build Protobuf
84+
run: bash source/scripts/build_protobuf.sh
85+
8386
- name: Pre-commit run
8487
env:
8588
LC_ALL: C.UTF-8
@@ -89,9 +92,6 @@ jobs:
8992
pre-commit install --install-hooks
9093
pre-commit run --all --show-diff-on-failure
9194
92-
- name: Build Protobuf
93-
run: bash source/scripts/build_protobuf.sh
94-
9595
build:
9696
runs-on: [self-hosted, corefront, sandbox]
9797
needs: [credentials, checks, precommit]

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repos:
3030
rev: v0.800
3131
hooks:
3232
- id: mypy
33-
args: [--ignore-missing-imports, --py2]
33+
args: [--ignore-missing-imports, --py2, --follow-imports, skip]
3434
files: source
3535
language_version: python3.9
3636
exclude: /monitor/|/third_party/|/tests/|/sql/|env\.py$|setup\.py$

0 commit comments

Comments
 (0)