From a3849e91287555bd376408f7274abef41289b1bb Mon Sep 17 00:00:00 2001 From: Daniel Metz Date: Fri, 27 Jul 2018 11:28:05 -0700 Subject: [PATCH] add forbid-type-hints --- .pre-commit-hooks.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1f62b3d..c94dee3 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -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.*(?