Skip to content

Commit

Permalink
Merge pull request #16 from anaconda-distribution/smartin_fix_pre-commit
Browse files Browse the repository at this point in the history
Fixes pre-commit issue
  • Loading branch information
schuylermartin45 committed Nov 10, 2023
2 parents 477740a + b8f9818 commit 8340102
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8340102

Please sign in to comment.