Skip to content

wesleybl/symbolic.package

Repository files navigation

symbolic.package

This repository demonstrates the Pylance error when we have a symbolic link in python.analysis.extraPaths

See:

microsoft/pylance-release#131

See that python.analysis.extraPaths points to the lib folder

lib/my is a symbolic link to .lib/my

Use:

git clone https://github.com/wesleybl/symbolic.package
cd symbolic.package
code .

Open the src/symbolic/package/__init__.py file and type:

import my

The autocomplete will not work, because lib/my is a symbolic link.

If we type:

import real

The autocomplete will work, because lib/real is a real folder.

About

No description, website, or topics provided.

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages