Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | error E0201 is obsolete - now E1101remove-E0201-references | Anentropic | 2015-11-18 | 4 | -4/+4 |
| | |||||
* | Add ChangeLog entry for too-many-nested-blocks and fix the errors in pylint. | Claudiu Popa | 2015-11-04 | 6 | -106/+113 |
| | |||||
* | Merged in lmedioni/pylint (pull request #298) | Claudiu Popa | 2015-11-04 | 4 | -3/+218 |
|\ | | | | | | | check if the number of nested block in a function or a method isn't too high | ||||
| * | some more comments for too-many-nested-blocks rule implementation | Laura M?dioni | 2015-11-03 | 1 | -0/+7 |
| | | | | | | | | related to the issue #668 | ||||
| * | add an extra sentence saying why blocks nesting is a bad pattern | Laura M?dioni | 2015-11-03 | 1 | -1/+2 |
| | | | | | | | | related to the issue #668 | ||||
| * | also count if nodes from ifexp and list comprehension | Laura M?dioni | 2015-11-02 | 1 | -0/+7 |
| | | | | | | | | related to the issue #668 | ||||
| * | check if the number of nested block in a function or a method isn't too high | Laura M?dioni | 2015-10-30 | 4 | -3/+203 |
| | | | | | | | | related to issue #668 | ||||
* | | Fix pylint warning by rewriting part of BasicChecker | Dmitry Pribysh | 2015-11-03 | 1 | -4/+2 |
| | | |||||
* | | Rename 'unsubscriptable-value' message to 'unsubscriptable-object' | Dmitry Pribysh | 2015-11-03 | 4 | -33/+33 |
| | | |||||
* | | Add checker for unsubscriptable values used in subscript expression. | Dmitry Pribysh | 2015-11-03 | 6 | -2/+144 |
|/ | | | | Fixes issue #561. | ||||
* | Fix an occurrence of no-classmethod-decorator. | Claudiu Popa | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | Remove unused import. | Claudiu Popa | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | Separe the conditions to improve the readability of the code. | Claudiu Popa | 2015-10-30 | 1 | -0/+4 |
| | |||||
* | Prefer any instead of for. | Claudiu Popa | 2015-10-30 | 1 | -4/+3 |
| | |||||
* | Fix the tests to work on both Python versions. | Claudiu Popa | 2015-10-30 | 2 | -2/+2 |
| | |||||
* | Add ChangeLog entry for issue #675. | Claudiu Popa | 2015-10-30 | 1 | -0/+6 |
| | |||||
* | Merged in lmedioni/pylint (pull request #295) | Claudiu Popa | 2015-10-30 | 13 | -8/+133 |
|\ | | | | | | | check for class methods declared without a decorator | ||||
| * | no-static/class-method: enhance the tests and fix the code accordingly | Laura M?dioni | 2015-10-29 | 5 | -7/+24 |
| | | |||||
| * | improve style and fix typos regarding no_class/staticmethod_decorator | Laura M?dioni | 2015-10-29 | 3 | -4/+5 |
| | | |||||
| * | check for static methods declared without a decorator | Laura M?dioni | 2015-10-29 | 7 | -9/+46 |
| | | | | | | | | closes issue #675 | ||||
| * | check for class methods declared without a decorator | Laura M?dioni | 2015-10-29 | 9 | -6/+76 |
| | | | | | | | | related to the issue #675 | ||||
* | | Merged in dmand/pylint/enhance-unpacking-checker (pull request #297) | Claudiu Popa | 2015-10-30 | 5 | -155/+187 |
|\ \ | | | | | | | | | | Enhance tuple unpacking checker | ||||
| * | | Add a few functional tests for enhanced unpacking checkerenhance-unpacking-checker | Dmitry Pribysh | 2015-10-29 | 2 | -13/+36 |
| | | | |||||
| * | | Make tuple unpacking checker emit less false negatives | Dmitry Pribysh | 2015-10-29 | 3 | -142/+151 |
|/ / | | | | | | | By reusing functions from iterable checker. | ||||
* | | Use the new master bookmark when installing astroid. | Claudiu Popa | 2015-10-28 | 1 | -3/+3 |
| | | |||||
* | | Fix pylint warnings. | Claudiu Popa | 2015-10-27 | 1 | -4/+4 |
| | | |||||
* | | Merge heads. | Claudiu Popa | 2015-10-27 | 5 | -46/+168 |
|\ \ | |||||
| * | | Add a new convention message, 'consider-using-enumerate' | Claudiu Popa | 2015-10-27 | 4 | -0/+117 |
| | | | | | | | | | | | | | | | | | | The message is emitted when code that uses `range` and `len` for iterating is encountered, which can be easily simplified by using `enumerate` instead. This makes the code a bit faster and cleaner. Closes issue #684. | ||||
| * | | Move unidiomatic-typecheck into the comparison checker from base.py, since ↵ | Claudiu Popa | 2015-10-26 | 2 | -46/+51 |
| |/ | | | | | | | it makes more sense for it to be there. | ||||
* | | Merged in dmand/pylint/fix-685 (pull request #294) | Claudiu Popa | 2015-10-27 | 7 | -107/+220 |
|\ \ | |/ |/| | | | Make iterable checker skip more abstract classes | ||||
| * | Make iterable checker skip classes that are inferred to be abstractfix-685 | Dmitry Pribysh | 2015-10-27 | 7 | -25/+121 |
| | | |||||
| * | Skip not-an-iterable and similar checks for Base/Abstract classes | Dmitry Pribysh | 2015-10-27 | 2 | -84/+101 |
|/ | | | | | | And refactor iterable checker. Fixes issue #685. | ||||
* | Simplify visit_compare, by moving the verifications for misplaced constants ↵ | Claudiu Popa | 2015-10-26 | 1 | -4/+4 |
| | | | | into their own if statement. | ||||
* | Use the representation of the context when building the message for ↵ | Claudiu Popa | 2015-10-26 | 3 | -2/+4 |
| | | | | misplaced-comparison-constant. | ||||
* | Add a Changelog entry for misplaced-comparison-constant. | Claudiu Popa | 2015-10-26 | 1 | -0/+7 |
| | |||||
* | Simplify _check_misplaced_constant. | Claudiu Popa | 2015-10-26 | 1 | -8/+7 |
| | |||||
* | Don't emit misplaced-comparison-constant for constant tests, such as true == ↵ | Claudiu Popa | 2015-10-26 | 3 | -15/+6 |
| | | | | true, which should be handled by other checks. | ||||
* | Use a lower message id for misplaced-comparison-constant. | Claudiu Popa | 2015-10-26 | 1 | -1/+1 |
| | |||||
* | Make check_singleton_comparison a private function. | Claudiu Popa | 2015-10-26 | 1 | -3/+3 |
| | |||||
* | Update the docstring a little bit. | Claudiu Popa | 2015-10-26 | 1 | -2/+3 |
| | |||||
* | Add an extra space between classes. | Claudiu Popa | 2015-10-26 | 1 | -0/+1 |
| | |||||
* | Make misplaced-comparison-constant a convention, rather than a warning. | Claudiu Popa | 2015-10-26 | 3 | -5/+5 |
| | |||||
* | Merge heads. | Claudiu Popa | 2015-10-26 | 14 | -32/+119 |
|\ | |||||
| * | Explicitely check for const to const comparison | Laura M?dioni | 2015-10-26 | 3 | -16/+40 |
| | | | | | | | | Also add a check for comparison to a method, a function or an attribute and improve the functional test accordingly. | ||||
| * | add a new rule looking for yoda conditions | Laura M?dioni | 2015-10-15 | 14 | -32/+95 |
| | | |||||
* | | Add test for verifying that __name__ can't be accessed from an instance. | Claudiu Popa | 2015-10-26 | 2 | -0/+7 |
| | | |||||
* | | Remove the list parantheses for a sum call. | Claudiu Popa | 2015-10-26 | 1 | -1/+1 |
| | | |||||
* | | Use a generator comprehension instead of creating a list. | Claudiu Popa | 2015-10-26 | 1 | -1/+1 |
| | | |||||
* | | Cleanup _parallel_task by moving the creation of the config into its own ↵ | Claudiu Popa | 2015-10-26 | 1 | -3/+7 |
| | | | | | | | | function. | ||||
* | | Added notes on integration with TextMate | Daniele Procida | 2015-10-25 | 1 | -5/+63 |
| | |