leinardi / pylint-pycharm

A plugin providing both real-time and on-demand scanning of Python files with PyLint from within PyCharm/IDEA.
Apache License 2.0
197 stars 35 forks source link

no linting when using --init-hook in the parameter field #42

Closed NicolasTriquenaux closed 4 years ago

NicolasTriquenaux commented 5 years ago

Step 1: Are you in the right place?

Step 2: Describe your environment

Step 3: Describe the problem:

Steps to reproduce:

  1. Set the --init-hook='import sys; sys.path.extend(["path1", "path2"])' in the argument field (i do have a path to a pylint rc file set if it is of any use.)

Observed Results:

Expected Results:

Screenshot of the failing configuration : capture d ecran 2019-02-28 a 14 17 07

NicolasTriquenaux commented 5 years ago

I did some investigating. So if you specify anything with quotes (" or ') in the Arguments field something crashes and is uncaught but the pylint runner class. I set up a watch on the pylint executions and none is run.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had activity in the last 60 days.