Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sometimes mypy was failing with: ``` AssertionError: Cannot find component '_Result@144' for 'tests.util.test_pep517._Result@144' ``` This is due to a bug: python/mypy#7281 I have applied the workaround suggested in the above issue Full traceback ``` type run-test: commands[1] | mypy tests Traceback (most recent call last): File "/home/user/tox/.tox/type/bin/mypy", line 8, in <module> sys.exit(console_entry()) File "/home/user/tox/.tox/type/lib/python3.9/site-packages/mypy/__main__.py", line 11, in console_entry main(None, sys.stdout, sys.stderr) File "mypy/main.py", line 90, in main File "mypy/build.py", line 179, in build File "mypy/build.py", line 253, in _build File "mypy/build.py", line 2638, in dispatch File "mypy/build.py", line 2955, in process_graph File "mypy/build.py", line 3033, in process_fresh_modules File "mypy/build.py", line 1977, in fix_cross_refs File "mypy/fixup.py", line 26, in fixup_module File "mypy/fixup.py", line 77, in visit_symbol_table File "mypy/fixup.py", line 301, in lookup_qualified_stnode File "mypy/lookup.py", line 47, in lookup_fully_qualified AssertionError: Cannot find component '_Result@144' for 'tests.util.test_pep517._Result@144' ERROR: InvocationError for command /home/user/tox/.tox/type/bin/mypy tests (exited with code 1) ```
- Loading branch information