lint:unresolved-import for some dependencies (original) (raw)
Summary
When running ty on poetry repo main branch, lint:unresolved-import errors are raised for dulwich and xattr packages.
Example of such error:
error: lint:unresolved-import: Cannot resolve imported module `dulwich.repo`
--> tests/vcs/git/test_backend.py:8:6
|
6 | import pytest
7 |
8 | from dulwich.repo import Repo
| ^^^^^^^^^^^^
9 |
10 | from poetry.vcs.git.backend import Git
|
info: `lint:unresolved-import` is enabled by default
Code that fails with the above error is here
Version
ty 0.0.0-alpha.7