From b8f9818cd9442596696d29a375341181fcd42bfd Mon Sep 17 00:00:00 2001 From: Schuyler Martin Date: Fri, 10 Nov 2023 12:02:06 -0700 Subject: [PATCH] Fixes pre-commit issue --- .pre-commit-config.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d321d61..d04e270 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,12 +50,9 @@ repos: hooks: - id: mypy # `mypy` is run as a system script to ensure that it is checking against - # the libraries we have installed. Having `pre-commit` handle dependencies - # leaves to headache-inducing mismatches and inaccuracies. This also allows - # us to type-check internal libraries that aren't widely publicly available, - # like `percy`. + # the libraries we have installed to the environment. language: system - args: [--config-file=.mypy.ini] + args: [--config-file=.mypy.ini, "--cache-dir=/dev/null"] # `pre-commit` no longer provides a hook for `pytest`, by design - repo: local hooks: