Pylint `–good-names` syntax on Linux

Question:

I’ve been using PyLint in Windows with such configuration:

pylint 
    --good-names ('i','el','of','df','pd','Entity') 
    --bad-names ('foo','bar','kek','KEK') 
    module

but on Ubuntu, I get an exception while trying to parse good-names arguments ('i','el', ...):

/bin/bash: -c: line 6: syntax error near unexpected token `('

What is the correct way to provide such uncommon arguments on ubuntu?

Answers:

You should enclose your tuples in quotes:

pylint 
    --good-names "('i','el','of','df','pd','Entity')" 
    --bad-names "('foo','bar','kek','KEK')" 
    module
Answered By: Seon
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.