FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Enable Ruff flake8-builtins (A) by Avasam · Pull Request #13729 · python/typeshed · GitHub

Repository navigation

Enable Ruff flake8-builtins (A) - #13729

Merged
AlexWaygood merged 1 commit into
python:mainfrom
Avasam:flake8-builtins-(A)
Mar 28, 2025
Merged

AlexWaygood merged 1 commit into
python:mainfrom
Avasam:flake8-builtins-(A)

Conversation

Avasam commented Mar 27, 2025 •
edited
Loading

Copy link
Copy Markdown
Collaborator

Ref #13295
flake8-builtins (A)

At that point, it' easier and more concise to disable the entire group in stubs.

So this group would only apply to our tests/scripts.

srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It's a meh rule, in my opinion, considering that Python built-ins block quite a few important names (filter, id, dir), but I don't mind.

AlexWaygood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

it's a bit pedantic for sure, but this one seems reasonable to me. The recommendations from this rule are never going to tell you to do something that's actually incorrect, unlike e.g. #13728 (where the more correct thing arguably does sometimes contradict the rule's recommendation)

AlexWaygood merged commit 83ee2a2 into python:main Mar 28, 2025
Avasam deleted the flake8-builtins-(A) branch March 28, 2025 20:15
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL