Commit Graph

15 Commits

Author SHA1 Message Date
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
Aditya Khursale fe37451719 Report duplicate keys in check_json
Raise ValueError and return 1 if json contains duplicate keys
2021-02-18 13:53:57 -08:00
Anthony Sottile c11c5483d6 check-json: resolve TODO 2020-05-14 16:29:55 -07:00
Anthony Sottile f5c42a050b pre-commit-hooks: python3.6+ 2020-02-05 11:22:18 -08:00
Anthony Sottile 4575652bd2 Use default flake8 config 2019-02-11 19:56:15 -08:00
Anthony Sottile 030bfac7e4 Apply typing to all of pre-commit-hooks 2019-01-31 20:09:15 -08:00
Anthony Sottile dc50b7f09c Attempt to fix the json hook under test 2017-03-20 11:25:45 -07:00
Anthony Sottile 9cee71b5df Add pyupgrade 2017-03-12 18:01:29 -07:00
Chris Kuehl 6b9265c96a Fix JSON decode error message 2016-11-12 11:54:14 -08:00
Lucas Cimon 54e83f7ceb Displaying the filename when the check-json hook fails with a UnicodeDecodeError - fix #148 2016-11-12 09:15:10 +01: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 243fe50bc1 Add a hook for checking parseable json. 2014-08-19 16:03:48 -07:00