summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged in raduciorba/pylint/unused-import (pull request #244)Claudiu Popa2015-04-02115-448/+494
|\ | | | | | | #475 fix unused-import false positive when the import is used in a class assignment
| * Update test for not-context-manager when context node is a NameRadu Ciorba2015-04-021-1/+3
| | | | | | | | | | Adds the case that caused the crash, a contextlib.contextmanager referenced by name.
| * Handle the case for not-context-manager when the context node is a Name.Claudiu Popa2015-04-013-3/+25
| | | | | | | | This fixes a crash.
| * Don't fail in the string checker when encountering a bytes string on Python ↵Claudiu Popa2015-04-013-0/+48
| | | | | | | | 3 with a .format method called.
| * 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.
| * Add Changelog entry and cleanup after changeset 2307df9Claudiu Popa2015-03-315-23/+3
| |
| * Remove "pointless-except" checkerSteven Myint2015-03-305-17/+2
| | | | | | | | This fixes #506.
| * MergeSimu Toni2015-03-2897-381/+389
| |\
| | * Remove trailing whitespace.Claudiu Popa2015-03-281-1/+1
| | |
| | * Improve the message report for --jobs. Closes issue #501.Claudiu Popa2015-03-281-2/+7
| | |
| | * Start with 0 statements in PylintASTWalker.Claudiu Popa2015-03-281-1/+1
| | |
| | * Fix failing test.Claudiu Popa2015-03-282-3/+3
| | |
| | * Port more tests from the old test style to the new test style.Claudiu Popa2015-03-2893-375/+378
| | |
| * | issue-422 solved some pylint warnings when running pylint on pylint code baseSimu Toni2015-03-286-24/+25
| |/
* | fix indentation, add changelog entryunused-importRadu Ciorba2015-03-313-3/+6
| |
* | fix commentRadu Ciorba2015-03-301-1/+1
| |
* | add another test case + fixed an import errorRadu Ciorba2015-03-303-2/+5
| |
* | fix unused-import false positive when the import is used in a class assignmentRadu Ciorba2015-03-301-5/+11
| | | | | | | | don't consume from current scope if it's defined in the same statement
* | update the testRadu Ciorba2015-03-301-2/+3
| |
* | add functional tests for unsed import false positive #475Radu Ciorba2015-03-281-2/+5
|/
* The colorized reporter now works on Windows. Closes issue #96.Claudiu Popa2015-03-273-2/+20
|
* Expand tilde in spelling-private-dict-filePavel Roskin2015-03-271-0/+6
| | | | This closes issue #503
* boolean-datetime is disabled for Python 3.5+Claudiu Popa2015-03-261-0/+2
|
* For Python 3.3 we get a different error, use the default test for it.Claudiu Popa2015-03-261-0/+0
|
* Fix some tests for the drone.io.Claudiu Popa2015-03-264-8/+3
|
* Finish converting tests to work both on Python 2 and 3. Also, drop 2to3 for ↵Claudiu Popa2015-03-2616-26/+50
| | | | tests.
* Don't emit an unused-wildcard-import for imported __future__ names from ↵Claudiu Popa2015-03-263-2/+26
| | | | other modules.
* Try to make the tests compatible with both Python 2 and Python 3.Claudiu Popa2015-03-2674-403/+406
|
* Improve the performance of --jobs when dealing only with a package name.Claudiu Popa2015-03-242-8/+11
| | | | | | | 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-242-1/+6
|
* Remove decorated_with_abc in the favour of decorated_with, which supports ↵Claudiu Popa2015-03-232-17/+8
| | | | multiple decorator names to query.
* Allow ending a pragma control with a semicolon.Claudiu Popa2015-03-232-1/+10
| | | | | | In this way, users can continue a pragma control with a reason for why it is used, as in `# pylint: disable=old-style-class;reason=...`. Closes issue #449.
* Add new contributor.Claudiu Popa2015-03-231-3/+5
|
* Merged in raduciorba/pylint/not-context-manager (pull request #240)Claudiu Popa2015-03-230-0/+0
|\ | | | | | | add 'not-context-manager' error
* \ merged default from logilab/pylint and resolve conflictnot-context-managerRadu Ciorba2015-03-234-0/+70
|\ \ | |/
| * Merged in raduciorba/pylint/confusing-with-statement (pull request #241)Claudiu Popa2015-03-234-0/+70
| |\ | | | | | | | | | add warning for confusing usage of with statement
| | * 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.
* | add 'not-context-manager' errorRadu Ciorba2015-03-225-1/+86
|/ | | | | Checks that whatever you use in a with statement implements __enter__ and __exit__ or is decorated with contextlib.contextmanager.
* 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
| |