Skip to content

Commit afc8be6

Browse files
committed
Tools: Allow untyped decorators for mypy to avoid crashes with pytest and mock_aws
1 parent 45b4892 commit afc8be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
rev: 'v1.18.2'
2121
hooks:
2222
- id: mypy
23-
args: [--strict, --ignore-missing-imports, --check-untyped-defs]
23+
args: [--strict, --ignore-missing-imports, --check-untyped-defs, --allow-untyped-decorators]
2424
additional_dependencies:
2525
- types-click
2626
- types-PyYAML

0 commit comments

Comments
 (0)