Skip to content

Commit

Permalink
mypy in pre-commit fixed (#2117)
Browse files Browse the repository at this point in the history
* mypy in pre-commit fixed

* polishing
  • Loading branch information
davorrunje authored Mar 21, 2024
1 parent a6a7409 commit fafc29e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ repos:
language: python
# use your preferred Python version
# language_version: python3.8
additional_dependencies: [".[types]"]
additional_dependencies: []
types: [python]
# use require_serial so that script
# is only called once per commit
Expand Down
2 changes: 2 additions & 0 deletions scripts/pre-commit-mypy-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ set -o errexit
# Change directory to the project root directory.
cd "$(dirname "$0")"/..

pip install -q -e .[types]

mypy

0 comments on commit fafc29e

Please sign in to comment.