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

Support glob patterns in pep8-naming’s ignore-names option. #2787

Closed
manueljacob opened this issue Feb 12, 2023 · 1 comment · Fixed by #5024
Closed

Support glob patterns in pep8-naming’s ignore-names option. #2787

manueljacob opened this issue Feb 12, 2023 · 1 comment · Fixed by #5024
Assignees
Labels
configuration Related to settings and configuration

Comments

@manueljacob
Copy link
Contributor

The original pep8-naming supports glob patterns in the ignore-names option. Currently, Ruff supports only fixed strings.

@charliermarsh charliermarsh added the configuration Related to settings and configuration label Feb 12, 2023
@ergoithz
Copy link

ergoithz commented May 25, 2023

Just wanted to point out this would be required to effectively support custom unittest-style assert* methods.

Without this feature, the only alternatives are either disabling N802 entirely or manually add every single custom assertion method name as ignore-names.

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

Successfully merging a pull request may close this issue.

4 participants