Skip to content
Merged
9 changes: 1 addition & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,11 @@ repos:
hooks:
- id: mypy
name: mypy (strict)
files: &strict_modules ^pyrit/(auth|analytics|embedding|exceptions|memory|prompt_normalizer)/
files: &strict_modules ^pyrit/
args: [--install-types, --non-interactive, --ignore-missing-imports, --sqlite-cache, --cache-dir=.mypy_cache, --strict]
entry: mypy
language: system
types: [ python ]
- id: mypy
name: mypy (regular)
exclude: *strict_modules
args: [--install-types, --non-interactive, --ignore-missing-imports, --sqlite-cache, --cache-dir=.mypy_cache]
entry: mypy
language: system
types: [ python ]

- repo: local
hooks:
Expand Down
Loading