Merge "tox mypy: Call mypywrap.sh directly"
This commit is contained in:
commit
3d67140cb7
2
tools/mypywrap.sh
Normal file → Executable file
2
tools/mypywrap.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# A wrapper around mypy that allows us to specify what files to run 'mypy' type
|
# A wrapper around mypy that allows us to specify what files to run 'mypy' type
|
||||||
# checks on. Intended to be invoked via tox:
|
# checks on. Intended to be invoked via tox:
|
||||||
|
2
tox.ini
2
tox.ini
@ -172,7 +172,7 @@ description =
|
|||||||
Run type checks.
|
Run type checks.
|
||||||
envdir = {toxworkdir}/pep8
|
envdir = {toxworkdir}/pep8
|
||||||
commands =
|
commands =
|
||||||
bash tools/mypywrap.sh {posargs}
|
{toxinidir}/tools/mypywrap.sh {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# Following checks are ignored on purpose.
|
# Following checks are ignored on purpose.
|
||||||
|
Loading…
Reference in New Issue
Block a user