Commit graph

15 commits

Author SHA1 Message Date
Edoardo Bezzeccheri
04de4f8042 Using first line to determine EOL 2025-05-07 16:05:09 +00:00
Edoardo Bezzeccheri
647959c4b4 Revert "Edge case with mixed endings"
This reverts commit 203735ecf7.
2025-05-07 15:58:17 +00:00
Edoardo Bezzeccheri
203735ecf7 Edge case with mixed endings
Added case for which the file has mixed line endings.
In this case, default into using LF
for end of file line.
2025-05-07 09:00:23 +00:00
Edoardo Bezzeccheri
c21246f34f Added test to reproduce case
Case is for file using CRLF endings
2025-05-07 08:45:10 +00:00
Anthony Sottile
8f6152921e drop python3.6 support
python 3.6 reached end of life on 2021-12-23

Committed via https://github.com/asottile/all-repos
2022-01-15 19:24:05 -05:00
Max Rozentsveyg
f35bfed79e Don't use LocalPath.strpath 2020-05-20 12:08:42 -04:00
Anthony Sottile
030bfac7e4 Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
mtkennerly
e694a6cfc2 Incorporate patch to support isolated CR 2018-10-13 19:44:02 -04:00
mtkennerly
2ab5832ce1 Preserve CRLF if file already ends that way 2018-10-13 19:00:22 -04:00
mtkennerly
abd3d0ec3f Fix CRLF lines 2018-10-13 07:26:53 -04:00
Anthony Sottile
a99475afa0 Simplify the tests 2016-05-27 14:09:50 -07:00
Anthony Sottile
b08f834d65 Update pre-commit hooks 2015-01-04 16:05:54 -08:00
Anthony Sottile
2f1d2bbe5b Remove @entry decorator (and misc cleanup) 2015-01-04 11:08:53 -08:00
Anthony Sottile
b80ca9e84a Update project setup. 2014-04-13 22:09:26 -07:00
Anthony Sottile
57f1533b84 Added end of file fixer hook. 2014-03-22 21:40:57 -07:00