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

Add an autofix for E262 #9067

Closed
Skylion007 opened this issue Dec 9, 2023 · 0 comments · Fixed by #9075
Closed

Add an autofix for E262 #9067

Skylion007 opened this issue Dec 9, 2023 · 0 comments · Fixed by #9075
Assignees
Labels
fixes Related to suggested fixes for violations

Comments

@Skylion007
Copy link
Contributor

Almost all the trivial pycodestyle e autofixes https://docs.astral.sh/ruff/rules/#error-e are implemented, but there are few that are missing that seem quite trivial to implement.

Another trivial (and quite common one to encounter after adding manual noqas) is https://docs.astral.sh/ruff/rules/no-space-after-inline-comment/ , ie E262. The fix looks rather trivial to make and we should consider adding an autofix before it leaves preview. May be a good first issue.

@charliermarsh charliermarsh added the fixes Related to suggested fixes for violations label Dec 9, 2023
@charliermarsh charliermarsh self-assigned this Dec 9, 2023
charliermarsh added a commit that referenced this issue Dec 9, 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