Skip to content

Commit

Permalink
Update pre-commit for pre-commit.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Jan 17, 2025
1 parent 20051a5 commit 0e5962b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
# We use locally installed linters so all version numbers are kept in
# requirements-lint.txt.
- repo: local
hooks:
- id: pipenv
language: system
name: Install dependencies for the local linters
entry: pipenv install --dev
types_or:
- python
- toml # Pipfile
pass_filenames: false
- id: black
name: black
entry: black
Expand All @@ -21,9 +27,9 @@ repos:
- python
- id: mypy
name: mypy
entry: mypy
entry: pipenv run mypy .
language: system
types:
types_or:
- python
# Workaround <https://github.com/python/mypy/issues/9977>.
require_serial: true
- toml # Pipfile
pass_filenames: false

0 comments on commit 0e5962b

Please sign in to comment.