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
The following code in _mypy_aspect_impl does not include the _transition_py_test and _transition_py_binary rules from rules_python (code). As a result, mypy did not run for targets that use py_test from @python//<version>:def.bzl
🐞 bug report
The following code in
_mypy_aspect_impl
does not include the_transition_py_test
and_transition_py_binary
rules from rules_python (code). As a result, mypy did not run for targets that usepy_test
from@python//<version>:def.bzl
bazel-mypy-integration/mypy.bzl
Lines 191 to 194 in 863fde2
As a workaround, I created applied a patch in my WORKSPACE and it seem to work:
Versions
bazel 6.1.1
0.18.1
c82a2d522d9e8e96ec30c4ab14a8066a09f7483e
(> 0.4.0)How to reproduce
Demo workspace (clone of rules_python examples)
Run:
It should produce an error:
The error goes away once
patch
line is removed in WORKSPACEThe text was updated successfully, but these errors were encountered: