pylint doesn't continue searching for files under a directory that is not a package #9764
Labels
Bug 🪲
namespace-package
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Bug description
This bug is happening when running
pylint
in this repo at this commit.I noticed different behaviors when running
cd propagator; pylint opentelemetry-propagator-b3
and when runningpylint propagator/opentelemetry-propagator-b3
.I found this issue while working on this other issue.
Configuration
The
pylint
configuration is here.Command used
I cloned that repo, and run
tox -e lint
first to create thelint
virtual environment. Then I activated thelint
virtual environment:source .tox/lint/bin/activate
.I ran
pylint propagator/opentelemetry-propagator-b3
.Then I ran
cd propagator
and then I ranpylint opentelemetry-propagator-b3
.Pylint output
When I ran
pylint propagator/opentelemetry-propagator-b3
I got this output:When I ran
cd propagator
and then I ranpylint opentelemetry-propagator-b3
I got this output:Expected behavior
I expected the behavior would be the one that happens when I run
cd propagator
and then I runpylint opentelemetry-propagator-b3
in both cases.Pylint version
(lint) tigre@hilleman:~/github/ocelotl/opentelemetry-python/propagator$ pylint --version pylint 3.0.2 astroid 3.0.3 Python 3.11.2 (main, Feb 12 2023, 12:17:23) [GCC 11.3.0]
OS / Environment
Additional dependencies
The text was updated successfully, but these errors were encountered: