-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Bug description
When running pylint with --verbose
it prints a summary of files checked and skipped, but I find the number of skipped files is wrong. I couldn't find a way to output what files pylint thinks it has skipped, so it's hard to do any kind of verification. Minimal example:
a directory with two files:
empty
foobar.py
with empty
being empty (this is to make sure pylint does not pick up another rcfile that cause the problem) and foobar.py
containing:
LaLa = ""
Then when running pylint foobar.py --verbose --rcfile empty
it says 1 file checked and 1 skipped which can hardly be true if there is only one input file.
Configuration
No response
Command used
pylint foobar.py --verbose --rcfile empty
Pylint output
$ pylint foobar.py --verbose --rcfile empty
Using config file empty
************* Module foobar
foobar.py:1:0: C0114: Missing module docstring (missing-module-docstring)
foobar.py:1:0: C0103: Constant name "LaLa" doesn't conform to UPPER_CASE naming style (invalid-name)
Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)
Checked 1 files, skipped 1 files
Expected behavior
Pylint should say Checked 1 files, skipped 0 files
. It would also be good if there was a way to print the names of the files that were actually checked and/or skipped.
Pylint version
$ pylint --version
pylint 3.3.1
astroid 3.3.5
Python 3.13.0 (main, Nov 6 2024, 14:45:43) [Clang 16.0.0 (clang-1600.0.26.4)]
OS / Environment
MacOS, iTerm2
Additional dependencies
No response