Skip to content

Conversation

robsdedude
Copy link
Contributor

@robsdedude robsdedude commented Aug 21, 2022

When checking if a file got altered, leading and trailing white space is infact
relevant. Especially considering the existence of config options like
lines_before_imports and lines_after_imports.

Fixes #1855

@robsdedude
Copy link
Contributor Author

@timothycrosley it'd be great if you could find the time review this.

@robsdedude
Copy link
Contributor Author

@staticdev I'm sorry for the cold ping but I'd really like this to be moved forward :)

When checking if a file got altered, leading and trailing white space is infact
relevant. Especially considering the existence of config options like
`lines_before_imports` and `lines_after_imports`.
@DanielNoord DanielNoord force-pushed the fix/file-altered-check branch from 4745342 to 4c63011 Compare October 4, 2025 19:30
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.

lines_before_import seems to not always work on files

1 participant