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
Max Rozentsveyg
f35bfed79e
Don't use LocalPath.strpath
2020-05-20 12:08:42 -04:00
Anthony Sottile
f5c42a050b
pre-commit-hooks: python3.6+
2020-02-05 11:22:18 -08:00
Anthony Sottile
fea76b9ea1
Fix CI by upgrading AP templates
2020-02-03 08:41:48 -08:00
Anthony Sottile
8626e266dd
double-quote-string-fixer
2019-02-11 19:57:37 -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
5dc306b35d
Fix resource warnings
2018-06-18 00:00:38 -07:00
Anthony Sottile
df93509aed
Explicitly check for `ast.Name`
2018-05-17 17:14:25 -07:00
Ben Webber
775867626d
check-builtin-literals: Ignore function attribute calls
2017-11-30 18:33:36 +00:00
Ben Webber
35996b7a25
Add check to enforce literal syntax for Python builtin types
...
This check requires authors to initialize empty or zero builtin types
using the literal syntax (e.g., `{}` instead of `dict()`).
Authors may ignore this requirement for certain builtins using the
`--ignore` option.
Authors may also forbid calling `dict()` with keyword arguments
(`dict(a=1, b=2)`) using the `--no-allow-dict-kwargs` flag.
2017-11-26 00:46:03 +00:00