Running pylint over prospector (locally or in CI) produces the error as witnessed in e.g. this CI linting run:
usage: pylint [options]
pylint: error: argument --include-naming-hint: (None, "Invalid yn value 'cffconvert, cffconvert.*',
should be in ('true', 'y', 'yes', 'no', 'false', 'n')")
The only instance of this string (cffconvert, cffconvert.*) is here:
and indeed, if these lines are commented out, the error disappears (and all pylint errors appear).
I don't know much about pylint, but am assuming that this isn't intended behaviour. It rather seems as if pylint misreads this to be one of its configuration options, especially as prospector reports an external pylint config in setup.cfg (this is shown when the lines mentioned above are commented out):
Running pylint over prospector (locally or in CI) produces the error as witnessed in e.g. this CI linting run:
The only instance of this string (
cffconvert, cffconvert.*
) is here:and indeed, if these lines are commented out, the error disappears (and all pylint errors appear).
I don't know much about pylint, but am assuming that this isn't intended behaviour. It rather seems as if pylint misreads this to be one of its configuration options, especially as prospector reports an external pylint config in
setup.cfg
(this is shown when the lines mentioned above are commented out):One attempt at fixing this could perhaps be to move project setup to
pyproject.toml
.