Skip to content

Commit

Permalink
github: exclude *_pb2.py from autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
aconchillo committed Mar 21, 2024
1 parent e1139c0 commit e393eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
- "**"
paths-ignore:
- "docs/**"
- "*_pb2.py"

concurrency:
group: build-lint-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -27,7 +26,7 @@ jobs:
id: autopep8
uses: peter-evans/autopep8@v2
with:
args: --exit-code -r -d -a -a src/
args: --exit-code -r -d --exclude "*_pb2.py" -a -a src/
- name: Fail if autopep8 requires changes
if: steps.autopep8.outputs.exit-code == 2
run: exit 1
2 changes: 1 addition & 1 deletion src/dailyai/pipeline/protobufs/frames_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e393eaa

Please sign in to comment.