Commit graph

16 commits

Author SHA1 Message Date
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
c881808ed6 Implementation to pass test 2025-05-07 08:52:52 +00:00
Edoardo Bezzeccheri
068f38ba74 Refactored literals 2025-05-07 08:44:27 +00:00
Anthony Sottile
a49f812a96 py39+
Committed via https://github.com/asottile/all-repos
2024-10-11 19:30:07 -04: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