Sign in
cobalt
/
pre-commit-hooks
/
865409743e7d23dc6aa0c2faaefebbe879881ab8
/
pre_commit_hooks
/
trailing_whitespace_fixer.py
8f61529
drop python3.6 support
by Anthony Sottile
· 3 years, 4 months ago
39ab2ed
replace exit(main()) with raise SystemExit(main())
by Anthony Sottile
· 3 years, 7 months ago
f5c42a0
pre-commit-hooks: python3.6+
by Anthony Sottile
· 5 years ago
a33a8f0
Change parameter name to "chars" and move encoding outside loop
by iconmaster5326
· 6 years ago
dcbf434
Apply suggestion: the `bytes(...)` call does nothing here
by Iconmaster
· 6 years ago
c431f09
Fix failure on Python 2
by iconmaster5326
· 6 years ago
a2f836a
fix-whitespace: Added test for custom charsets
by iconmaster5326
· 6 years ago
886dfc4
trailing-whitespace: add option for custom chars to strip
by iconmaster5326
· 6 years ago
8626e26
double-quote-string-fixer
by Anthony Sottile
· 6 years ago
4575652
Use default flake8 config
by Anthony Sottile
· 6 years ago
030bfac
Apply typing to all of pre-commit-hooks
by Anthony Sottile
· 6 years ago
99453a5
Default --no-markdown-linebreak-ext for trailing-whitespace
by Anthony Sottile
· 7 years ago
38e02ff
Don't add end-of-file newline while trimming whitespace
by Anthony Sottile
· 7 years ago
9958d1e
Fix trailing-whitespace on macos for non-utf8 files
by Anthony Sottile
· 8 years ago
2a902e0
Use asottile/add-trailing-comma
by Anthony Sottile
· 8 years ago
9cee71b
Add pyupgrade
by Anthony Sottile
· 8 years ago
8114733
Only return nonzero when rewriting whitespace
by Anthony Sottile
· 8 years ago
cb23c48
Post-review fixes
by Lucas Cimon
· 9 years ago
c3c870c
trailing-whitespace hook: support for CRLFs
by Lucas Cimon
· 9 years ago
eaad923
trailing-whitespace hook: Switching from using fileinput to a tempfile and whitespace substitution in binary mode
by Lucas Cimon
· 9 years ago
bc5e7f2
trailing-whitespace hook: restoring original file in case of failure - fixes #134
by Lucas Cimon
· 9 years ago
a6023ac
Implement Markdown trailing space line break preservation
by Alexander Dupuy
· 10 years ago
713fab4
Remove dependency on plumbum
by Anthony Sottile
· 10 years ago
b08f834
Update pre-commit hooks
by Anthony Sottile
· 10 years ago
2f1d2bb
Remove @entry decorator (and misc cleanup)
by Anthony Sottile
· 10 years ago
e3312c7
Use fileinput instead of sed.
by Anthony Sottile
· 10 years ago
b80ca9e
Update project setup.
by Anthony Sottile
· 11 years ago
4574154
Refactored how entry points work.
by Anthony Sottile
· 11 years ago
acd9eaf
Add trailing whitespace fixer.
by Anthony Sottile
· 11 years ago