Skip to content

chore: add exceptions for stdlib module shadowing #603

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

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

mr-cal
Copy link
Contributor

@mr-cal mr-cal commented Jan 10, 2025

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox?

New ruff is flagging https://docs.astral.sh/ruff/rules/stdlib-module-shadowing/

Renaming these modules feels like an API breakage, so I added exceptions.

@mr-cal mr-cal requested review from lengau and a team January 10, 2025 20:03
Copy link
Contributor

@dariuszd21 dariuszd21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I think it would be also good to bump ruff version in .pre-commit-config.yaml

Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
@lengau lengau merged commit 03fda39 into main Jan 13, 2025
10 checks passed
@lengau lengau deleted the work/ruff-0.9 branch January 13, 2025 17:16
mr-cal added a commit that referenced this pull request Feb 4, 2025
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
mr-cal added a commit that referenced this pull request Feb 4, 2025
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
mr-cal added a commit that referenced this pull request Feb 4, 2025
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants