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

Allow numbers in checker names. #3667

Merged
merged 2 commits into from
Jun 8, 2020
Merged

Conversation

jfly
Copy link
Contributor

@jfly jfly commented Jun 5, 2020

This fixes #3666.

Steps

  • Add yourself to CONTRIBUTORS if you are a new contributor.
  • Add a ChangeLog entry describing what your PR does.
  • [N/A] If it's a new feature or an important bug fix, add a What's New entry in doc/whatsnew/<current release.rst>.
  • Write a good description on what the PR does.

Description

Pylint used to allow just about anything in a checker name, but with 9bdae8b, it got a lot stricter about naming (I believe unintentionally). This expands the MESSAGE_STRING regular expression to allow for numbers in checker names.

Type of Changes

Type
🐛 Bug fix

Related Issue

Closes #3666

@coveralls
Copy link

coveralls commented Jun 5, 2020

Coverage Status

Coverage remained the same at 90.687% when pulling 65de5a1 on jfly:issue-3666 into 627d07d on PyCQA:master.

@PCManticore PCManticore merged commit fe0a7f7 into pylint-dev:master Jun 8, 2020
@PCManticore
Copy link
Contributor

Thanks a lot for the patch! Will backport this to 2.5.3 as well.

PCManticore pushed a commit that referenced this pull request Jun 8, 2020
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.

Pylint 2.5 does not allow ignoring checkers whose names have numbers in them
3 participants