Skip to content

Autofix for E261 (preview) #8068

@Skylion007

Description

@Skylion007

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.

Metadata

Metadata

Assignees

Labels

fixesRelated to suggested fixes for violations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions