|
@@ -51,6 +51,12 @@ repos:
|
|
|
language: python
|
|
|
files: requirements-.*\.txt$
|
|
|
additional_dependencies: [packaging==21.3]
|
|
|
+ - id: check-mypy-bypass
|
|
|
+ name: do not bypass the type checker
|
|
|
+ entry: '(^# *mypy: *ignore-errors|^# *type: *ignore|\bno_type_check\b)'
|
|
|
+ language: pygrep
|
|
|
+ types: [python]
|
|
|
+ exclude: ^src/sentry/metrics/minimetrics.py$
|
|
|
|
|
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
|
|
rev: 0.24.1
|