Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Fix linter errors for Kokoro samples tests for Python >3.6 #731

Closed
acocuzzo opened this issue Jul 6, 2022 · 0 comments · Fixed by #732
Closed

CI: Fix linter errors for Kokoro samples tests for Python >3.6 #731

acocuzzo opened this issue Jul 6, 2022 · 0 comments · Fixed by #732
Assignees
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. samples Issues that are directly related to samples.

Comments

@acocuzzo
Copy link
Contributor

acocuzzo commented Jul 6, 2022

Kokoro lint run fails with:

nox > flake8 --show-source --builtin=gettext --max-complexity=20 --import-order-style=google '--exclude=.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py' --ignore=E121,E123,E126,E203,E226,E24,E266,E501,E704,W503,W504,I202 --max-line-length=88 --application-import-names publisher,subscriber,noxfile_config,noxfile,schema,iam_test,resources,publisher_test,iam,quickstart,utilities,.nox,subscriber_test,schema_test .
./subscriber_test.py:144:7: ANN401 Dynamically typed expressions (typing.Any) are disallowed
    **attrs: Any,
      ^
nox > Command flake8 --show-source --builtin=gettext --max-complexity=20 --import-order-style=google '--exclude=.nox,.cache,env,lib,generated_pb2,*_pb2.py,*_pb2_grpc.py' --ignore=E121,E123,E126,E203,E226,E24,E266,E501,E704,W503,W504,I202 --max-line-length=88 --application-import-names publisher,subscriber,noxfile_config,noxfile,schema,iam_test,resources,publisher_test,iam,quickstart,utilities,.nox,subscriber_test,schema_test . failed with exit code 1
nox > Session lint failed.
@acocuzzo acocuzzo added api: pubsub Issues related to the googleapis/python-pubsub API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. labels Jul 6, 2022
@acocuzzo acocuzzo self-assigned this Jul 6, 2022
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/python-pubsub API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant