Skip to content

Preserve line ending when running autoupdate - #1402

Merged
asottile merged 1 commit into
pre-commit:masterfrom
utek:preserve_line_endings
Apr 19, 2020
Merged

Preserve line ending when running autoupdate#1402
asottile merged 1 commit into
pre-commit:masterfrom
utek:preserve_line_endings

Conversation

@utek

@utek utek commented Apr 18, 2020

Copy link
Copy Markdown

This PR aims to make pre-commit's autoupdate option preserve the line endings.

This is slight inconvenience when using windows but having all code use Unix type line endings.

Comment thread tests/commands/autoupdate_test.py Outdated
Comment thread tests/commands/autoupdate_test.py Outdated
Comment thread tests/commands/autoupdate_test.py
@utek
utek requested a review from asottile April 19, 2020 09:33

@asottile asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@asottile
asottile force-pushed the preserve_line_endings branch from 006081d to 13d528c Compare April 19, 2020 16:12
@asottile
asottile merged commit 54fdd6a into pre-commit:master Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants