Merge "tox mypy: Call mypywrap.sh directly"

This commit is contained in:
Zuul 2021-02-19 21:26:28 +00:00 committed by Gerrit Code Review
commit 3d67140cb7
2 changed files with 2 additions and 2 deletions

2
tools/mypywrap.sh Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
#
# A wrapper around mypy that allows us to specify what files to run 'mypy' type
# checks on. Intended to be invoked via tox:

View File

@ -172,7 +172,7 @@ description =
Run type checks.
envdir = {toxworkdir}/pep8
commands =
bash tools/mypywrap.sh {posargs}
{toxinidir}/tools/mypywrap.sh {posargs}
[flake8]
# Following checks are ignored on purpose.