Bernhard Walle
cbd515b47c
end_of_file_fixer: write platform native line endings
...
The most common setup for git is to use platform-native line endings in checkout
(`core.autocrlf` set to `true`). So the eol file fixer should write native
line endings.
2023-04-19 15:02:34 +02: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