move run_mypy to placate ci

This commit is contained in:
Jeff Epler 2022-09-19 09:10:23 -05:00
parent a4712c76f7
commit 6848a03fc8
No known key found for this signature in database
GPG key ID: D5BF15AB975AB4DE
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ repos:
hooks:
- id: mypy
name: mypy
entry: "python3 run_mypy.py"
entry: "python3 etc/run_mypy.py"
language: python
additional_dependencies: ["mypy==0.790", "tomlkit"]
types: [python]

View file

@ -15,7 +15,7 @@ def print_check_call(command):
subprocess.check_call(command)
os.chdir(pathlib.Path(__file__).parent)
os.chdir(pathlib.Path(__file__).parent.parent)
pip_command = ["pip", "install", "--no-input", "--quiet", "--editable", "."]
print_check_call(pip_command)