This commit is contained in:
Daniel Metz 2018-07-27 18:30:10 +00:00 committed by GitHub
commit aa04b33a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,3 +263,9 @@
# for backward compatibility
files: ''
minimum_pre_commit_version: 0.15.0
- id: forbid-type-hints
name: Forbid Type Hints
description: Prevent type hints. Use type annotations instead.
entry: '# type.*(?<!: ignore)$'
language: pygrep
types: [python]