Sign in
cobalt
/
pre-commit-hooks
/
7b2234e6dd211438f6416cd261fa2e747ef498cf
/
tests
/
pretty_format_json_test.py
8f61529
drop python3.6 support
by Anthony Sottile
· 3 years, 3 months ago
f35bfed
Don't use LocalPath.strpath
by Max Rozentsveyg
· 5 years ago
f5c42a0
pre-commit-hooks: python3.6+
by Anthony Sottile
· 5 years ago
86a010b
Remove unnecessary double printing of filename
by Anthony Sottile
· 6 years ago
d6c0aa5
Remove useless newline
by Joey Pinhas
· 6 years ago
ec6c39e
Print filenames in the diff
by Joey Pinhas
· 6 years ago
7d878b5
Fix test cases for unified_diff
by Joey Pinhas
· 6 years ago
31e740e
Use unified_diff
by Joey Pinhas
· 6 years ago
27cd688
Flush stderr, and formatting
by Joey Pinhas
· 6 years ago
35c76c4
Add test for std err
by Joey Pinhas
· 6 years ago
831d2a9
Print file line stderr
by Joey Pinhas
· 6 years ago
93b7b66
Remove erroneoous print statement
by Joey Pinhas
· 6 years ago
0ff23d4
Remove extra cli flag, and update test case
by Joey Pinhas
· 6 years ago
b28837a
Add test case to test diffing function
by Joey Pinhas
· 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
5b6ddaf
Fix pretty_format_json to use int indent
by Calum Lind
· 7 years ago
00974ef
Remove pretty_format_json simplejson dependency
by Calum Lind
· 7 years ago
e9aea74
Upgrade add-trailing-comma to 0.4.1
by Anthony Sottile
· 8 years ago
10f8bd2
Add unit test for --no-ensure-ascii option
by ushuz
· 8 years ago
e9e9c3d
add test to show how it works a bit more
by David Brown
· 8 years ago
84b1fb6
let pre-commit fix some stuff
by dmlb2000
· 8 years ago
7f057b0
change the name to show both working and not instead of overwriting the function name
by dmlb2000
· 8 years ago
845a3d5
adds top keys list of keys in hashes to put at the top of a hash
by dmlb2000
· 8 years ago
cf3aabe
Merge pull request #120 from sanmai-NL/JSON_arbitrary_indentation_separator
by Anthony Sottile
· 9 years ago
a562886
Refactor legacy `indent: int` -> `indent: str`
by Sander Maijers
· 9 years ago
a99475a
Simplify the tests
by Anthony Sottile
· 9 years ago
bd4e37c
Add test for '--no-sort-keys'
by mattclegg
· 9 years ago
7376a29
Write to temp directories in such a way that files get cleaned up
by Anthony Sottile
· 9 years ago
3a3a7a1
Run pre-commit during test
by Anthony Sottile
· 9 years ago
55bf22d
Add new hook pretty-format-json
by Léo Cavaillé
· 10 years ago