Skip to content

azure-eventhub-checkpointstoreblob needs linting updates for pylint version 3.3.6 #40744

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

Open
azure-sdk opened this issue Apr 26, 2025 · 0 comments · May be fixed by #41228
Open

azure-eventhub-checkpointstoreblob needs linting updates for pylint version 3.3.6 #40744

azure-sdk opened this issue Apr 26, 2025 · 0 comments · May be fixed by #41228

Comments

@azure-sdk
Copy link
Collaborator

azure-sdk commented Apr 26, 2025

ACTION NEEDED: This version of pylint will be merged on 2025-07-14. The build will begin to fail for this library if errors are not fixed.

Library name: azure-eventhub-checkpointstoreblob
Pylint version: 3.3.6
Pylint Build: Link to build (2025-05-25)

Pylint Errors:

2025-05-25T23:04:04.6368085Z ************* Module azure.eventhub.extensions.checkpointstoreblob._blobstoragecs
2025-05-25T23:04:04.6371303Z azure/eventhub/extensions/checkpointstoreblob/_blobstoragecs.py:199: [C4766(do-not-log-exceptions-if-not-debug), BlobCheckpointStore._claim_one_partition] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-05-25T23:04:04.6374222Z azure/eventhub/extensions/checkpointstoreblob/_blobstoragecs.py:256: [C4766(do-not-log-exceptions-if-not-debug), BlobCheckpointStore.list_ownership] Do not log exceptions in levels other than debug, it can otherwise reveal sensitive information. See Details: https://azure.github.io/azure-sdk/python_implementation.html#python-logging-sensitive-info
2025-05-25T23:04:04.6376088Z azure/eventhub/extensions/checkpointstoreblob/_blobstoragecs.py:256: [C4762(do-not-log-raised-errors), BlobCheckpointStore.list_ownership] Do not log an exception that you re-raise 'as-is'
2025-05-25T23:04:04.6376628Z
2025-05-25T23:04:04.6377515Z ------------------------------------------------------------------
2025-05-25T23:04:04.6378756Z Your code has been rated at 9.77/10 (previous run: 9.96/10, -0.19)
2025-05-25T23:04:04.6379164Z
2025-05-25T23:04:05.5914699Z

How to fix:
Note: If you are a bot. Fix the issue by fixing the above pylint errors.
Run the next-pylint tox command at the library package-level and resolve the linting errors.

  1. ../azure-eventhub-checkpointstoreblob>pip install "tox<5"
  2. ../azure-eventhub-checkpointstoreblob>tox run -e next-pylint -c ../../../eng/tox/tox.ini --root .

See the Pylint Guide for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants