summaryrefslogtreecommitdiff
path: root/pylint/lint.py
Commit message (Collapse)AuthorAgeFilesLines
* Make pylint work with new astroid exceptions, AstroidImportError and ↵Claudiu Popa2015-12-061-7/+5
| | | | AstroidSyntaxError.
* Fix new import related errors in pylint's codebase.Claudiu Popa2015-11-251-2/+2
|
* Use a generator comprehension instead of creating a list.Claudiu Popa2015-10-261-1/+1
|
* Cleanup _parallel_task by moving the creation of the config into its own ↵Claudiu Popa2015-10-261-3/+7
| | | | function.
* Remove trailing whitespace.Claudiu Popa2015-10-201-1/+1
|
* Obsolete options are not present by default in the generated configuration file.Claudiu Popa2015-10-201-1/+3
| | | | Closes issue #632.
* Bring logilab-common's ureports into pylint.reporters.Claudiu Popa2015-09-051-7/+7
| | | | | | | | With this change, we moved away from depending on logilab-common, having in Pylint all the components that were used from logilab-common. The API should be considered an implementation detail and can change at some point in the future. Closes issue #621.
* Make the --profile flag obsolete. Will be removed in Pylint 1.6.Claudiu Popa2015-09-021-15/+2
|
* Bring parts of logilab.common.configuration and logilab.common.optik_ext ↵Claudiu Popa2015-09-011-9/+8
| | | | | | | | | | | | | | | | | 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.
* --comment flag was obsoleted and it will be removed in Pylint 1.6.Claudiu Popa2015-08-201-7/+1
|
* Remove ignored-builtin-module since it's not useful.Claudiu Popa2015-08-201-4/+0
|
* Fix pylint warnings for the code imported from logilab-common.Claudiu Popa2015-08-181-7/+7
|
* Get rid of logilab.common.interface.Florian Bruhin2015-07-261-4/+3
|
* Get rid of logilab.common.optik_ext and logilab.common.textutils.Florian Bruhin2015-07-261-9/+7
|
* Get rid of astroid.common.__version__.Florian Bruhin2015-07-251-3/+2
|
* Stop using logilab.common.__pkginfo__Julien Cristau2015-06-301-1/+1
| | | | | We only need the version, and it's available directly in logilab.common. Closes issue #575
* Fix some pylint warnings over pylint's codebase.Claudiu Popa2015-05-161-11/+13
|
* Fix other pylint warnings over pylint's codebase.Claudiu Popa2015-05-081-2/+2
|
* Fix a couple of other pylint warnings over pylint codebase.Claudiu Popa2015-05-071-13/+13
|
* Remove unused variables.Claudiu Popa2015-05-071-1/+1
|
* Fix the wrong hanging indentation.Claudiu Popa2015-05-051-2/+1
|
* Make ignore-iface-methods a noop option, mark it as deprecated.Claudiu Popa2015-05-051-10/+3
|
* The lineno attribute of a SyntaxError can be None when the problem isn't ↵Claudiu Popa2015-04-011-1/+1
| | | | related to a particular line.
* Remove "pointless-except" checkerSteven Myint2015-03-301-1/+0
| | | | This fixes #506.
* MergeSimu Toni2015-03-281-2/+7
|\
| * Remove trailing whitespace.Claudiu Popa2015-03-281-1/+1
| |
| * Improve the message report for --jobs. Closes issue #501.Claudiu Popa2015-03-281-2/+7
| |
* | issue-422 solved some pylint warnings when running pylint on pylint code baseSimu Toni2015-03-281-18/+18
|/
* Improve the performance of --jobs when dealing only with a package name.Claudiu Popa2015-03-241-8/+8
| | | | | | | The performance is improved by obtaining the files which should be analyzed from the list of given modules, using PyLinter.expand_modules. This is already what PyLinter._do_check does, but the behaviour was missing from PyLinter._parallel_check. Closes issue #479.
* --jobs can be used with --load-plugins now. Closes issue #456.Claudiu Popa2015-03-241-1/+4
|
* Handle the case where SyntaxError is reraised as AstroidBuildingException.Claudiu Popa2015-03-181-3/+7
|
* Added a new option for controlling the peephole optimizer in astroid.Claudiu Popa2015-03-141-0/+14
| | | | | | | | | | | | The option ``--optimize-ast`` will control the peephole optimizer, which is used to optimize a couple of AST subtrees. The current problem solved by the peephole optimizer is when multiple joined strings, with the addition operator, are encountered. If the numbers of such strings is high enough, Pylint will then fail with a maximum recursion depth exceeded error, due to its visitor architecture. The peephole just transforms such calls, if it can, into the final resulting string and this exhibit a problem, because the visit_binop method stops being called (in the optimized AST it will be a Const node).
* Document what include-ids and --symbols did in the past and point to ↵Claudiu Popa2015-03-121-4/+9
| | | | msg-template instead. Closes issue #215.
* Merged in mibalint/pylint (pull request #234)Claudiu Popa2015-03-061-0/+18
|\ | | | | | | #422 [pylint sprint] Create pylintrc and disable checking for all issues
| * Make the --py3k flag commutative with the -E flag.Claudiu Popa2015-02-281-0/+18
| | | | | | | | | | Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437.
* | remove more checks from disabled list, fix code to pass these: ↵Mihai Balint2015-02-281-1/+0
| | | | | | | | C0303,C0304,C0321,C0325,C0326,C0327,C0328
* | start removing checks from disabled list, fix code to make sure these pass: ↵Mihai Balint2015-02-281-4/+8
|/ | | | C0102,C0112,C0121,C0202,C0203,C0204,C0301
* Support for combining the Python 3 checker mode with the --jobs flag.Claudiu Popa2015-02-241-2/+18
| | | | | | | This patch makes sure that --py3k and --jobs flags can be combined together. It introduces a new method in lint.PyLinter, called set_python3_porting_mode, which will setup a new flag inside the linter, passed down to child linters when they are created. Closes issue #467.
* Move the patching of sys.modules in a context manager.Claudiu Popa2015-02-241-12/+21
|
* Move all package files to a pylint package.Ionel Cristian Maries2015-02-141-0/+1332