Skip to content

martinnovak/pylint-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo should illustrate a problem with pylint wrongly recognizing global module when a file of that name exists in a different folder.

Try to run:

python3.11 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pylint .

Pylint returns an error:

util2/main.py:1:0: E0611: No name 'namedtuple' in module 'collections' (no-name-in-module)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages