Skip to content

Commit b6f123a

Browse files
Exclude generated code from Black check
1 parent 5b76dbe commit b6f123a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
- name: Run formatters and linters
9999
run: |
100100
pip3 install black isort flake8-pyi flake8-noqa flake8-bugbear
101-
black --check .
101+
black --check --extend-exclude '(_pb2_grpc|_pb2).pyi?$' .
102102
isort --check . --diff
103103
flake8 .
104104
- name: run shellcheck

0 commit comments

Comments
 (0)