Skip to content

Commit fafc29e

Browse files
authored
mypy in pre-commit fixed (#2117)
* mypy in pre-commit fixed * polishing
1 parent a6a7409 commit fafc29e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ repos:
5353
language: python
5454
# use your preferred Python version
5555
# language_version: python3.8
56-
additional_dependencies: [".[types]"]
56+
additional_dependencies: []
5757
types: [python]
5858
# use require_serial so that script
5959
# is only called once per commit

scripts/pre-commit-mypy-run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ set -o errexit
1010
# Change directory to the project root directory.
1111
cd "$(dirname "$0")"/..
1212

13+
pip install -q -e .[types]
14+
1315
mypy

0 commit comments

Comments
 (0)