ci: ignore syntax, type checking for protobuf generated files

This commit is contained in:
Willi Ballenthin
2023-02-14 10:26:05 +01:00
parent 38d8b7f501
commit b6e607f60e
2 changed files with 5 additions and 2 deletions

View File

@@ -34,9 +34,9 @@ jobs:
- name: Install dependencies
run: pip install -e .[dev]
- name: Lint with isort
run: isort --profile black --length-sort --line-width 120 -c .
run: isort --profile black --length-sort --line-width 120 --skip-glob "*_pb2.py" -c .
- name: Lint with black
run: black -l 120 --check .
run: black -l 120 --extend-exclude ".*_pb2.py" --check .
- name: Lint with pycodestyle
run: pycodestyle --show-source capa/ scripts/ tests/
- name: Check types with mypy