Commit Graph

6 Commits

Author SHA1 Message Date
Claudiu Popa
9eb22ab00c Abbreviations of command line options are not supported anymore.
Using abbreviations for CLI options was never considered to be
a feature of pylint, this fact being only a side effect of using optparse.
As this was the case, using --load-plugin or other abbreviation
for --load-plugins never actually worked, while it also didn't raise
an error. Closes issue #424.
2015-09-19 17:53:53 +00:00
Claudiu Popa
c79413de02 Get the sections sorted in options_by_section. This means the generated rcfile always has a consistent order. Closes issue #602. 2015-09-18 23:57:11 +00:00
Claudiu Popa
3deb961d35 Bring parts of logilab.common.configuration and logilab.common.optik_ext into pylint.config
The reason behind this is that we can better control the behaviour
of the underlying configuration modules, such as the case for undefined
options or for quickly fixing other bugs. Another side effect of this
change is that it gets us closer to the moment where we will not
be dependent on logilab.common anymore, which will definitely
make our pytest users happy.

Some parts were copied almost verbatim from logilab.common.configuration
and logilab.common.optik_ext and pylint.config will definitely need
a refactoring and reengineering for abstracting the configuration,
so that we won't use optparse anymore, but that's subject for another
patch.
2015-09-01 21:41:10 +03:00
Claudiu Popa
728271b602 --comment flag was obsoleted and it will be removed in Pylint 1.6. 2015-08-20 17:22:13 +03:00
John Kirkham
a9d2933d9e pylint/config.py: Check for .pylintrc, as well. 2015-05-27 14:08:41 -04:00
Ionel Cristian Maries
26eb7f9a2e Move all package files to a pylint package. 2015-02-14 18:13:20 +02:00