diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index b8280d070..6c02d8e60 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -10,7 +10,6 @@ on: - "**" paths-ignore: - "docs/**" - - "*_pb2.py" concurrency: group: build-lint-${{ github.event.pull_request.number || github.ref }} @@ -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 diff --git a/src/dailyai/pipeline/protobufs/frames_pb2.py b/src/dailyai/pipeline/protobufs/frames_pb2.py index 7ce638172..b923f8fe3 100644 --- a/src/dailyai/pipeline/protobufs/frames_pb2.py +++ b/src/dailyai/pipeline/protobufs/frames_pb2.py @@ -17,7 +17,7 @@ _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'frames_pb2', _globals) -if not _descriptor._USE_C_DESCRIPTORS: +if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None _globals['_TEXTFRAME']._serialized_start = 31 _globals['_TEXTFRAME']._serialized_end = 56