-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
Enhancement ✨Improvement to a componentImprovement to a componentNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation
Milestone
Description
Bug description
# asdf/foo.py
foo = 1
# asdf/bar.pyi
foo = 1
Configuration
No response
Command used
pylint asdf
Pylint output
************* Module foo
asdf\foo.py:1:0: C0104: Disallowed name "foo" (disallowed-name)
asdf\foo.py:1:0: C0104: Disallowed name "foo" (disallowed-name)
Expected behavior
************* Module foo
asdf\foo.py:1:0: C0104: Disallowed name "foo" (disallowed-name)
asdf\foo.py:1:0: C0104: Disallowed name "foo" (disallowed-name)
asdf\bar.pyi:1:0: C0104: Disallowed name "foo" (disallowed-name)
asdf\bar.pyi:1:0: C0104: Disallowed name "foo" (disallowed-name)
Pylint version
pylint 3.0.0a7
astroid 3.0.0
Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)]
OS / Environment
windows 10
Additional dependencies
No response
KotlinIsland
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementation