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

support trailing whitespace (W291) and blank lines contains whitespace (W293) #3008

Closed
kapilt opened this issue Feb 18, 2023 · 2 comments
Closed

Comments

@kapilt
Copy link

kapilt commented Feb 18, 2023

Hi folks, ruff is great, we just switched a project that was using flake8 over to ruff, its unfortunately still in progress on converting to black (lots of extant prs re spurious conflicts re delay)

one challenge is the lack of whitespace linting, both for trailing and empty lines. I see some previous closed tickets on this but it's also clear it's not been implemented, #1734 . It would still be super useful to have builtin, I'm fine with skipping the trailing whitespace in multi line strings.

❯ ruff --version
ruff 0.0.24

@ngnpope
Copy link
Contributor

ngnpope commented Feb 18, 2023

Duplicate of #2402.

@charliermarsh
Copy link
Member

On the roadmap! But I want to keep tracking these via #2402. (Thank you for trying stuff :))

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

3 participants