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

Create snake_case file if linter is Pylint #5948

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

tjkuson
Copy link
Contributor

@tjkuson tjkuson commented Jul 21, 2023

Summary

The add_rule.py script would create a test case that pointed to a file that didn't exist when the linter is set to "pylint". This PR fixes that.

Test Plan

python scripts/add_rule.py --name DoTheThing --prefix PL --code C0999 --linter pylint

@charliermarsh charliermarsh merged commit aaf7f36 into astral-sh:main Jul 22, 2023
14 checks passed
@charliermarsh charliermarsh added the internal An internal refactor or improvement label Jul 22, 2023
@charliermarsh
Copy link
Member

Thx.

@tjkuson tjkuson deleted the add_rule_script branch July 22, 2023 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants