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

Generalize E275 to require space after all keywords, not just "import". #1063

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Apr 16, 2022

The error message was worded to cover more cases, so I just reused E275 here; I can also add a new error code instead if you prefer.
Partially addresses #371 (only the "space required after keyword" part, not the "space required before keyword" part).

Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

None yet

3 participants