pre-commit-ci[bot]
e57da9d9a1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-12-02 08:12:15 +00:00
Adrian Lopez
f60596972c
yaml: add new option to ignore "!ansible" tags
...
This new option for the yaml checker modify ruamel to remove the "!"
from the "!vault" tag if it is found.
Removing that part allows the file to be parsed correctly, so other
errors could be found.
fixes : #273
2022-12-02 09:12:02 +01: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
roottool
fc9fb8bfa8
Changed position of 'import io'
2019-04-22 04:24:41 +09:00
roottool
47c89785e8
Added newline
2019-04-22 04:17:09 +09:00
roottool
e7924b53e4
Changed from open() to io.open()
2019-04-22 03:48:18 +09: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
a762639038
switch from pyyaml to ruamel.yaml
2018-12-28 13:09:17 -08:00
Anthony Sottile
a21def36e3
Add an --unsafe option to check-yaml
2018-03-19 09:28:18 -07:00
Anthony Sottile
e87b81afd9
Add an --allow-multiple-documents option to check-yaml
2017-10-12 15:52:10 -07:00
Brett Delle Grazie
a234b23667
Use safe_load as per PyYAML documentation
...
resolves #104
2016-10-23 17:50:42 +01:00
Anthony Sottile
e1c091a4e3
Use the CLoader when present to validate yaml
2015-01-15 09:44:48 -08: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
Anthony Sottile
b80ca9e84a
Update project setup.
2014-04-13 22:09:26 -07:00
Anthony Sottile
63b595ec2c
check_yaml should not require any arguments.
2014-04-03 22:22:00 -07:00
Anthony Sottile
3e45f53e68
Add a hook for yaml files.
2014-04-03 21:36:03 -07:00