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

Consistent format with or without leading trailing white space #8

Open
cleder opened this issue Mar 9, 2021 · 1 comment
Open

Consistent format with or without leading trailing white space #8

cleder opened this issue Mar 9, 2021 · 1 comment

Comments

@cleder
Copy link

cleder commented Mar 9, 2021

https://www.python.org/dev/peps/pep-0498/#leading-and-trailing-whitespace-in-expressions-is-ignored

Leading and trailing whitespace in expressions is ignored
For ease of readability, leading and trailing whitespace in expressions is ignored. This is a by-product of enclosing the expression in parentheses before evaluation.

It would be nice if this plugin could enforce consistent behaviour though
e.g:

FS004 : Missing leading or trailing whitespace
FS104 : Leading or trailing whitespace disallowed

The user should then be forced to ignore one or the other behaviour

@cleder cleder changed the title Consistent formattion with or without leading trailing whitespace Consistent format with or without leading trailing white space Mar 9, 2021
@MichaelKim0407
Copy link
Owner

Hi @cleder , there are no plans for me to add new features at the moment. If you would like to contribute, I'm happy to review, merge and publish your contribution.

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

No branches or pull requests

2 participants