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

Autofix for E261 (preview) #8068

Closed
Skylion007 opened this issue Oct 19, 2023 · 0 comments · Fixed by #8114
Closed

Autofix for E261 (preview) #8068

Skylion007 opened this issue Oct 19, 2023 · 0 comments · Fixed by #8114
Assignees
Labels
fixes Related to suggested fixes for violations

Comments

@Skylion007
Copy link
Contributor

Skylion007 commented Oct 19, 2023

One common issue I have when adding my own noqa rules is forgetting to add the two spaces before the NOQA comments. Link: https://docs.astral.sh/ruff/rules/too-few-spaces-before-inline-comment/ This rule seems like a very easy autofix to add and would probably make a great first issue. Many of the other E rules are also lacking autofixes which would be easy to implement.

@charliermarsh charliermarsh added the fixes Related to suggested fixes for violations label Oct 19, 2023
@charliermarsh charliermarsh self-assigned this Oct 21, 2023
charliermarsh added a commit that referenced this issue Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants