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
Anthony Sottile
39ab2ed85e
replace exit(main()) with raise SystemExit(main())
...
Committed via https://github.com/asottile/all-repos
2021-10-23 13:23:50 -04:00
Anthony Sottile
f5c42a050b
pre-commit-hooks: python3.6+
2020-02-05 11:22:18 -08: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
9cee71b5df
Add pyupgrade
2017-03-12 18:01:29 -07:00
Anthony Sottile
dd9a07daf1
Fix end-of-file-fixer on windows
2015-01-19 16:43:10 -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