summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add warning for confusing usage of with statementconfusing-with-statementRadu Ciorba2015-03-224-0/+70
| | | | | | Emitted when an ambiguous looking with statement is used. For example `with open() as first, second` which looks like a tuple assignment but is actually 2 context managers.
* Promote a couple of warnings to errors.Claudiu Popa2015-03-207-19/+26
| | | | | | | | These warnings were promoted since they could uncover potential bugs in the code and since most people are using `pylint -E` anyway, it's good to have them as errors. These warnings are: assignment-from-none, unbalanced-tuple-unpacking, unpacking-non-sequence, non-iterator-returned. Closes issue #388.
* Revert unwanted change.Claudiu Popa2015-03-201-1/+1
|
* Add ChangeLog entry and new contributor.Claudiu Popa2015-03-182-0/+8
|
* Merged in myint/pylint (pull request #237)Claudiu Popa2015-03-1810-29/+82
|\ | | | | | | Add "duplicate-except" checker. Patch by Steven Myint.
| * Handle the case where SyntaxError is reraised as AstroidBuildingException.Claudiu Popa2015-03-182-4/+8
| |
| * Add an extra hint (ex: "add 3 spaces") to bad-continuation message.Daniel Balparda2015-03-173-18/+28
| |
| * Added tag pylint-1.4.3 for changeset b8ff6bf98468Claudiu Popa2015-03-140-0/+0
| |
| * Prepare 1.4.3 release.pylint-1.4.3Claudiu Popa2015-03-143-4/+4
| |
| * Added a new option for controlling the peephole optimizer in astroid.Claudiu Popa2015-03-143-2/+41
| | | | | | | | | | | | | | | | | | | | | | | | 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).
| * Use only one job for linting pylint.Claudiu Popa2015-03-141-1/+1
| |
* | Remove unnecessary changeSteven Myint2015-03-151-1/+1
| |
* | Move to functional per Claudiu's noteSteven Myint2015-03-143-16/+13
| |
* | Disable irrelevant checkSteven Myint2015-03-141-1/+1
| |
* | RevertSteven Myint2015-03-141-11/+0
| |
* | Remove unnecessary loopSteven Myint2015-03-131-2/+1
| |
* | Remove unused importSteven Myint2015-03-131-1/+0
| |
* | Add "duplicate-except" checkerSteven Myint2015-03-134-2/+39
|/ | | | | It checks if an exception type was already caught previously in the same try/except. This fixes #485.
* 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.
* Use the license from __pkginfo__, not the builtin function.Claudiu Popa2015-03-121-1/+1
|
* Add ChangeLog entries for the removal of three warningsClaudiu Popa2015-03-111-0/+6
|
* Remove abstract-class-not-used, for the same reasons as star-args and ↵Claudiu Popa2015-03-1113-95/+45
| | | | abstract-class-little-referenced.
* Remove abstract-class-little-used warning, since it doesn't add any real value.Claudiu Popa2015-03-1111-39/+9
|
* Remove the star-args error.Claudiu Popa2015-03-118-53/+10
| | | | | This warning is removed because it doesn't add any real value and it's not a problem if someone uses unpacking in their code.
* Added tag pylint-1.4.2 for changeset 6f4aefa175c0Claudiu Popa2015-03-110-0/+0
|
* Prepare 1.4.2 releasepylint-1.4.2Claudiu Popa2015-03-113-4/+5
|
* Run pylint testenv with tox.Claudiu Popa2015-03-061-1/+1
|
* Merged in mibalint/pylint (pull request #234)Claudiu Popa2015-03-0611-57/+200
|\ | | | | | | #422 [pylint sprint] Create pylintrc and disable checking for all issues
| * Fix the number of underscores in __implements__Pavel Roskin2015-03-021-1/+1
| |
| * Fix a couple of doc warnings, use string continuation.Claudiu Popa2015-03-024-53/+53
| |
| * Make the doc buildable using the current checkoutSandro Tosi2015-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | Passing the PYTHONPATH from the command line, and setting PATH to the built script, this change will make it possible to use the built code used instead of the system-wide installation to build the documentation. Usage example: PATH=./build/scripts-2.7:$PATH make -C doc html PYTHONPATH=./build/lib
| * Make the --py3k flag commutative with the -E flag.Claudiu Popa2015-02-285-1/+87
| | | | | | | | | | Also, this patch fixes the leaks of error messages from the Python 3 checker when the errors mode was activated. Closes issue #437.
| * Add a new warning for the Python 3 porting checker, 'using-cmp-argument'.Claudiu Popa2015-02-283-1/+57
| | | | | | | | | | This warning is emitted when the `cmp` argument for the `list.sort` or `sorted builtin` is encountered, since it was removed in Python 3. This is part of the issue #376.
* | Add tox.ini bootstrap (stolen from astroid)Mihai Balint2015-03-031-0/+9
| |
* | remove more checks from disabled list, fix code to pass these: ↵Mihai Balint2015-02-282-2/+1
| | | | | | | | C0303,C0304,C0321,C0325,C0326,C0327,C0328
* | start removing checks from disabled list, fix code to make sure these pass: ↵Mihai Balint2015-02-284-16/+25
| | | | | | | | C0102,C0112,C0121,C0202,C0203,C0204,C0301
* | add all pylint codes to the disable list, runnint pylint pylint will now ↵Mihai Balint2015-02-281-2/+1
| | | | | | | | rate the pylint code at 10.0
* | add pylintrc generated by with pylintMihai Balint2015-02-281-0/+380
|/
* Merged in godfryd/pylint/docs-improvements2 (pull request #232)Claudiu Popa2015-02-286-24/+50
|\ | | | | | | Various changes related to docs
| * Merged default into docs-improvements2docs-improvements2Michal Nowikowski2015-02-281-0/+4
| |\
| | * Merged logilab/pylint into defaultMichal Nowikowski2015-02-281-0/+4
| | |\ | |_|/ |/| |
* | | Add missing call to unittest.main() in unittest_checker_exceptions.pyPavel Roskin2015-02-261-0/+4
| | |
| * | Various changes related to docsMichal Nowikowski2015-02-276-24/+50
| |/ | | | | | | | | | | | | | | - added Changelog to docs - added list of contributors to docs - updated CONTRIBUTORS info - slight formating changes in Changelog - updated auto-generated man page and example pylintrc
| * Backed out changeset 406c23c24795Michal Nowikowski2015-02-286-50/+24
| |
| * Various changes related to docsMichal Nowikowski2015-02-276-24/+50
|/ | | | | | | | - added Changelog to docs - added list of contributors to docs - updated CONTRIBUTORS info - slight formating changes in Changelog - updated auto-generated man page and example pylintrc
* Backed out changeset c1f2f0c187b0Claudiu Popa2015-02-271-0/+5
| | | | This is actually used by the test, which aren't calling visit_module.
* Remove Python3Checker constructor, visit_module() does all its jobPavel Roskin2015-02-261-5/+0
|
* Remove excessive quotes in docstringsPavel Roskin2015-02-262-2/+2
|
* Clear Python3Checker state on every new modulePavel Roskin2015-02-251-0/+5
| | | | | This fixes detection of missing __future__ imports when processing multiple files.
* Support for combining the Python 3 checker mode with the --jobs flag.Claudiu Popa2015-02-243-2/+27
| | | | | | | 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.