mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Fix CI by upgrading AP templates
This commit is contained in:
parent
31853d6c43
commit
fea76b9ea1
8 changed files with 39 additions and 34 deletions
|
|
@ -121,9 +121,9 @@ def test_dict_no_allow_kwargs_exprs(expression, calls):
|
|||
|
||||
|
||||
def test_ignore_constructors():
|
||||
visitor = Visitor(ignore=(
|
||||
'complex', 'dict', 'float', 'int', 'list', 'str', 'tuple',
|
||||
))
|
||||
visitor = Visitor(
|
||||
ignore=('complex', 'dict', 'float', 'int', 'list', 'str', 'tuple'),
|
||||
)
|
||||
visitor.visit(ast.parse(BUILTIN_CONSTRUCTORS))
|
||||
assert visitor.builtin_type_calls == []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue