Skip to content

Commit

Permalink
ignore protobuf files in linting, 3rd try
Browse files Browse the repository at this point in the history
  • Loading branch information
Moishe committed Mar 21, 2024
1 parent fe52153 commit 594fb85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
uses: actions/checkout@v4
- name: autopep8
id: autopep8
exclude: "*_pb2.py"
uses: peter-evans/autopep8@v2
with:
args: --exit-code -r -d -a -a --exclude '*_pb2.py' src/
args: --exit-code -r -d -a -a src/
- name: Fail if autopep8 requires changes
if: steps.autopep8.outputs.exit-code == 2
run: exit 1

0 comments on commit 594fb85

Please sign in to comment.