We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table 'warnings by module' missing in a report
No response
echo foo > module1.py echo bar > module1.py pylint -ry module1.py module2.py
************* Module module1 module1.py:1:0: C0114: Missing module docstring (missing-module-docstring) module1.py:1:0: W0104: Statement seems to have no effect (pointless-statement) module1.py:1:0: E0602: Undefined variable 'foo' (undefined-variable) ************* Module module2 module2.py:1:0: C0114: Missing module docstring (missing-module-docstring) module2.py:1:0: W0104: Statement seems to have no effect (pointless-statement) module2.py:1:0: E0602: Undefined variable 'bar' (undefined-variable) Report ====== 2 statements analysed. Statistics by type ------------------ +---------+-------+-----------+-----------+------------+---------+ |type |number |old number |difference |%documented |%badname | +=========+=======+===========+===========+============+=========+ |module |2 |NC |NC |0.00 |0.00 | +---------+-------+-----------+-----------+------------+---------+ |class |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ |method |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ |function |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ 6 lines have been analyzed Raw metrics ----------- +----------+-------+------+---------+-----------+ |type |number |% |previous |difference | +==========+=======+======+=========+===========+ |code |4 |66.67 |NC |NC | +----------+-------+------+---------+-----------+ |docstring |0 |0.00 |NC |NC | +----------+-------+------+---------+-----------+ |comment |0 |0.00 |NC |NC | +----------+-------+------+---------+-----------+ |empty |2 |33.33 |NC |NC | +----------+-------+------+---------+-----------+ Duplication ----------- +-------------------------+------+---------+-----------+ | |now |previous |difference | +=========================+======+=========+===========+ |nb duplicated lines |0 |NC |NC | +-------------------------+------+---------+-----------+ |percent duplicated lines |0.000 |NC |NC | +-------------------------+------+---------+-----------+ Messages by category -------------------- +-----------+-------+---------+-----------+ |type |number |previous |difference | +===========+=======+=========+===========+ |convention |2 |NC |NC | +-----------+-------+---------+-----------+ |refactor |0 |NC |NC | +-----------+-------+---------+-----------+ |warning |2 |NC |NC | +-----------+-------+---------+-----------+ |error |2 |NC |NC | +-----------+-------+---------+-----------+ Messages -------- +-------------------------+------------+ |message id |occurrences | +=========================+============+ |undefined-variable |2 | +-------------------------+------------+ |pointless-statement |2 | +-------------------------+------------+ |missing-module-docstring |2 | +-------------------------+------------+ ----------------------------------- Your code has been rated at 0.00/10
************* Module module1 module1.py:1:0: C0114: Missing module docstring (missing-module-docstring) module1.py:1:0: W0104: Statement seems to have no effect (pointless-statement) module1.py:1:0: E0602: Undefined variable 'foo' (undefined-variable) ************* Module module2 module2.py:1:0: C0114: Missing module docstring (missing-module-docstring) module2.py:1:0: W0104: Statement seems to have no effect (pointless-statement) module2.py:1:0: E0602: Undefined variable 'bar' (undefined-variable) Report ====== 2 statements analysed. Statistics by type ------------------ +---------+-------+-----------+-----------+------------+---------+ |type |number |old number |difference |%documented |%badname | +=========+=======+===========+===========+============+=========+ |module |2 |2 |= |0.00 |0.00 | +---------+-------+-----------+-----------+------------+---------+ |class |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ |method |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ |function |0 |NC |NC |0 |0 | +---------+-------+-----------+-----------+------------+---------+ 6 lines have been analyzed Raw metrics ----------- +----------+-------+------+---------+-----------+ |type |number |% |previous |difference | +==========+=======+======+=========+===========+ |code |4 |66.67 |4 |= | +----------+-------+------+---------+-----------+ |docstring |0 |0.00 |NC |NC | +----------+-------+------+---------+-----------+ |comment |0 |0.00 |NC |NC | +----------+-------+------+---------+-----------+ |empty |2 |33.33 |2 |= | +----------+-------+------+---------+-----------+ Duplication ----------- +-------------------------+------+---------+-----------+ | |now |previous |difference | +=========================+======+=========+===========+ |nb duplicated lines |0 |0 |0 | +-------------------------+------+---------+-----------+ |percent duplicated lines |0.000 |0.000 |= | +-------------------------+------+---------+-----------+ Messages by category -------------------- +-----------+-------+---------+-----------+ |type |number |previous |difference | +===========+=======+=========+===========+ |convention |2 |2 |2 | +-----------+-------+---------+-----------+ |refactor |0 |0 |0 | +-----------+-------+---------+-----------+ |warning |2 |2 |2 | +-----------+-------+---------+-----------+ |error |2 |2 |2 | +-----------+-------+---------+-----------+ % errors / warnings by module ----------------------------- +--------+------+--------+---------+-----------+ |module |error |warning |refactor |convention | +========+======+========+=========+===========+ |module2 |50.00 |50.00 |0.00 |50.00 | +--------+------+--------+---------+-----------+ |module1 |50.00 |50.00 |0.00 |50.00 | +--------+------+--------+---------+-----------+ Messages -------- +-------------------------+------------+ |message id |occurrences | +=========================+============+ |undefined-variable |2 | +-------------------------+------------+ |pointless-statement |2 | +-------------------------+------------+ |missing-module-docstring |2 | +-------------------------+------------+ ------------------------------------------------------------------ Your code has been rated at 0.00/10 (previous run: 0.00/10, +0.00)
pylint 2.15.5 astroid 2.12.12 Python 3.10.8 (main, Nov 10 2022, 12:59:17) [GCC 11.2.1 20220219]
Alpine Linux v3.16.3 (Dockerfile)
The text was updated successfully, but these errors were encountered:
Fix linterstats.get_module_message_count()
afbbf17
Fix pylint-dev#9145
Successfully merging a pull request may close this issue.
Bug description
Configuration
No response
Command used
Pylint output
Expected behavior
Pylint version
OS / Environment
Alpine Linux v3.16.3 (Dockerfile)
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: