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

Loosen TypeVar name pattern #5983

Merged
merged 2 commits into from
Mar 26, 2022
Merged

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Mar 25, 2022

Description

Allow TypeVar names with multiple uppercase characters like HVACModeT and IPAddress. Note that if a uppercase suffix is added, it must be T. IPAddressU is still invalid.

Closes #5981

/CC: @DanielNoord

@cdce8p cdce8p added Bug 🪲 Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer C: invalid-name labels Mar 25, 2022
@cdce8p cdce8p added this to the 2.13.1 milestone Mar 25, 2022
@cdce8p cdce8p added Enhancement ✨ Improvement to a component and removed Bug 🪲 labels Mar 26, 2022
andyholmes added a commit to andyholmes/valent that referenced this pull request Mar 26, 2022
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

👍

@Pierre-Sassoulas Pierre-Sassoulas merged commit 2c29f4b into pylint-dev:main Mar 26, 2022
@cdce8p cdce8p deleted the typevar-name branch March 26, 2022 11:20
@Pierre-Sassoulas Pierre-Sassoulas removed the Needs backport Needs to be cherry-picked on the current patch version by a pylint's maintainer label Mar 26, 2022
Pierre-Sassoulas pushed a commit that referenced this pull request Mar 26, 2022
@DanielNoord
Copy link
Collaborator

Thanks for the quick fix @cdce8p. Don't have much time this weekend, but good to see this is already released!

andyholmes added a commit to andyholmes/valent that referenced this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: invalid-name Enhancement ✨ Improvement to a component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default TypeVar style for invalid-name too strict
3 participants