Bug#1059546: pylint generates false positive 'import-error' with local editable modules.

2024-01-17 Thread Mike Castle
Easily replicable setup environment attached. A.tar.gz Description: application/gzip B.tar.gz Description: application/gzip

Bug#1059546: pylint generates false positive 'import-error' with local editable modules.

2024-01-17 Thread Sandro Tosi
since you have not provided an easily replicable setup environment, please go ahead and test with the newly uploaded pylint/3.0.1 and report back -- Sandro "morph" Tosi My website: http://sandrotosi.me/ Me at Debian: http://wiki.debian.org/SandroTosi Twitter: https://twitter.com/sandrotosi

Bug#1059546: pylint generates false positive 'import-error' with local editable modules.

2024-01-17 Thread Mike Castle
Sorry. I now realize that changing my local PROMPT to be the default '$ ', I dropped an important bit of information. The file, `t.py` is NOT in the same directory as `pyproject.toml`. That is, while t.py was $HOME for the test, the pyproject.toml file and associated source was in some $RANDOM

Bug#1059546: pylint generates false positive 'import-error' with local editable modules.

2024-01-16 Thread Sandro Tosi
control: tags -1 +moreinfo > To reproduce, I used the following toy module: > $ find -type f -exec printf '\n%s\n' {} \; -exec cat {} \; next time, please setup a throw-away repo somewhere like github.com/gitlab.com, cause it takes too long to setup a reproduce environment like this. > With the

Bug#1059546: pylint generates false positive 'import-error' with local editable modules.

2023-12-27 Thread Mike Castle
Package: pylint Version: 2.16.2-2 Severity: important Tags: upstream X-Debbugs-Cc: dalg...@gmail.com Dear Maintainer, This *might* be https://github.com/pylint-dev/pylint/issues/8829 . However, I am new to this bits of the Python eco-system, so not confident in my assessment. When trying to