leinardi / pylint-pycharm

A plugin providing both real-time and on-demand scanning of Python files with PyLint from within PyCharm/IDEA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems with pylint-pycharm IDE Plugin: (due to pylint 2.5.0 ?)

F-Haferkorn opened this issue · comments

Step 1: Are you in the right place?

  • I have verified there are no duplicate active or recent bugs, questions, or requests
  • I have verified that I am using the latest version of the plugin.

Step 2: Describe your environment

  • Windows 10 Laptop, 16GB RAM
  • Plugin version: '0.12.2'
  • PyCharm/IDEA version: pycharm commutiy with Anaconda Plugin 2020.1.1
  • Pylint version '2.5.0'
  • astroid 2.4.0
  • Python 3.7.7 (default, May 6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)]
  • I use Anaconda Navigator 1.9.12

Step 3: Describe the problem:

Steps to reproduce:

  1. _____ pylint-ing a single file still works fine
  2. _____ pylint-ing a package or the complete projects fails.
  3. _____ calling pylint from the CLI seems to give proper output

What happened? This could be a description, log output, etc.
---> the Pycharm-pylint plugin already worked, well.
--> I had a Windows Update to 1909 build 18363.836
--> the PROBLEM OCCURS AFTER a Windows Update and the following REBOOT
--> I tried to reinstall the pycharm-plugin
-->I upated pylint

some output of pylint called from the console of the whole project (is slightly edited)

************** Module myproject.main.xxx
myproject\main\xxx.py:22:11: C0326: No space allowed after bracket
    def   run( self, args: List[str]) -> int:
         ^ (bad-whitespace)
myproject\main\xxx.py:20:8: W0107: Unnecessary pass statement (unnecessary-pass)
************* Module myproject.main.xxx_runner
myproject\main\xxx_runner.py:22:39: W0613: Unused argument 'option' (unused-argument)

Observed Results:

  • after the change of the environment (os and pylint update) the pylint-pycharm does not work proper any longer.
  • pylint works form the console
  • pylint-pycharm does not even start for modules or the whole project, (The stop button-box never gets red).
  • The pylint-scanning process does NOT return for Packages and the Project.
  • But it works for single *.py files

I remember vague the pylint version was 2.4.0 before., but am not sure.

Expected Results:

  • The pylint scan should finish after a certain time (with results)

Relevant Code:

where can  I find the log information?

Part of a screencopy of a single file pylint run:
I do id not remember , the spaces and hat symbol '^' before the line/column and the error name
[bad-whitespace] was like that before, when it worked flawless

image