Skip to content

Pylint plugins don't get their configuration properly #232

Description

@BenjaminSchubert

With the following pylintrc :

[MASTER]
load-plugins=pylint_quotes

[STRING_QUOTES]

docstring-quote=double
string-quote=double
triple-quote=double

and the following code in test.py:

"""this is a test"""

ABC = "test"
DEF = """testing"""

When calling pylint --rcfile ./pylintrc test.py, I get:

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 0.00/10, +10.00)

When calling prospector --pylint-config-file pylintrc test.py I get:

Messages
========

test.py
  Line: 4
    pylint: invalid-string-quote / Invalid string quote ", should be '
  Line: 5
    pylint: invalid-triple-quote / Invalid triple quote """, should be '''



Check Information
=================
         Started: 2017-09-01 15:19:38.177873
        Finished: 2017-09-01 15:19:38.258544
      Time Taken: 0.08 seconds
       Formatter: grouped
        Profiles: default, no_doc_warnings, no_test_warnings, strictness_medium, strictness_high, strictness_veryhigh, no_member_warnings
      Strictness: None
  Libraries Used: 
       Tools Run: dodgy, mccabe, pep8, profile-validator, pyflakes, pylint
  Messages Found: 2
 External Config: pylint: pylintrc

It seems that pylint does not get its configuration correctly for the plugins.

I'm using prospector 0.12.7 and pylint 1.7.2 with pylint_quotes version 0.1.5.

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions