You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Report
With 0.961 and earlier versions, I used MyPy with Tox on GitHub Actions to run automated tests for three different projects. It has worked without issues, but after upgrading version 0.971, I'm getting an InvocationError even though I'm using the same basic mypy src command to scan my files across all projects.
jakob-bagterp
changed the title
0.971: InvocationError when running "mypy src" with Tox on GitHub Actions
0.971: InvocationError and MYPYPATH issue when running "mypy src" with Tox on GitHub Actions
Aug 9, 2022
Bug Report
With 0.961 and earlier versions, I used MyPy with Tox on GitHub Actions to run automated tests for three different projects. It has worked without issues, but after upgrading version 0.971, I'm getting an
InvocationError
even though I'm using the same basicmypy src
command to scan my files across all projects.Bug reports from GitHub Actions:
Note that when running version 0.971 on my local machine, I experience no issues:
To Reproduce
mypy src
Expected Behavior
MyPy should scan the code and exit without issues.
Actual Behavior
Error message:
/home/runner/work/name-of-project/name-of-project is in the MYPYPATH. Please remove it.
Your Environment
setup.cfg
:tox.ini
:The text was updated successfully, but these errors were encountered: