Commit Graph

9 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
Daniël van Noord fc88f3fa49 Use tomli and tomllib instead of toml 2022-05-31 10:48:00 -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
Max Rozentsveyg 8febacdfed Support checking unicode TOML 2020-05-16 21:05:37 -04:00
Anthony Sottile f5c42a050b pre-commit-hooks: python3.6+ 2020-02-05 11:22:18 -08:00
Sorin Sbarnea 317aef4961 Added tests for check_toml
Also assures we print filename when error occurs.
2019-08-03 19:40:57 +01:00
Semyon Maryasin 771156fb5e Use toml rather than pytoml
Pytoml has an issue with error messages: https://github.com/avakar/pytoml/issues/41
2019-08-03 19:16:51 +01:00
Semyon Maryasin ae70f7e3c7 Add check-toml hook 2019-08-03 19:16:51 +01:00