Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 1 | -332/+0 |
| | |||||
* | Fix a false positive on Python 2 for raising-bad-type and tuples. | Claudiu Popa | 2015-01-02 | 1 | -3/+22 |
| | | | | | Raising tuples in the form 'raise (ZeroDivisionError, None)' is not an error on Python 2, but it is an error on Python 3. | ||||
* | Don't filter out builtins when checking for raising-non-exception. | Claudiu Popa | 2015-01-02 | 1 | -2/+1 |
| | | | | | There is no reason anymore to exclude builtins for nonstandard-exception and raising-non-exception. | ||||
* | Fix a false negative with raising-non-exception. | Claudiu Popa | 2015-01-02 | 1 | -11/+19 |
| | | | | | | | | | | When the raise used an uninferrable exception context, as in the following example, raising-non-exception wouldn't have been emitted, due to a misplaced return. The example is: from missing_import import something raise SomeClass from something | ||||
* | Small cleanup to exceptions checker | Claudiu Popa | 2015-01-02 | 1 | -4/+3 |
| | |||||
* | The comment is not true anymore. | Claudiu Popa | 2015-01-02 | 1 | -5/+0 |
| | |||||
* | Small refactoring to exceptions checker. | Claudiu Popa | 2015-01-02 | 1 | -13/+24 |
| | |||||
* | Fix a false positive with catching-non-exception and tuples of | Claudiu Popa | 2014-12-29 | 1 | -26/+43 |
| | | | | exceptions. | ||||
* | Simplify _annotated_unpack_infer. | Claudiu Popa | 2014-12-04 | 1 | -12/+5 |
| | | | | | | With this fix, _annotated_unpack_infer doesn't try to unpack everything, doing only a linear inference and unpacking. This also removes the false positives where a part of the except handler is a builtin call for list/tuple/set. | ||||
* | Simplify the code by using safe_infer. | Claudiu Popa | 2014-12-04 | 1 | -14/+10 |
| | |||||
* | pylint pylint | Sylvain Th?nault | 2014-11-19 | 1 | -3/+3 |
| | |||||
* | Amend the message for raising-bad-type, by not specifying strings. | Claudiu Popa | 2014-11-15 | 1 | -1/+1 |
| | |||||
* | Move raising-string to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -8/+3 |
| | |||||
* | Move unpacking-in-except to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -12/+0 |
| | |||||
* | Move indexing-exception to the python3 porting checker. | Claudiu Popa | 2014-11-15 | 1 | -17/+0 |
| | |||||
* | Simplify the code, by using has_known_bases. | Claudiu Popa | 2014-10-28 | 1 | -24/+1 |
| | |||||
* | Modernize to the point of working for Python 2.7 still | Brett Cannon | 2014-08-29 | 1 | -3/+3 |
| | |||||
* | Implement confidence levels. | Torsten Marek | 2014-07-24 | 1 | -3/+5 |
| | | | | | | | - attach confidence levels to a number of messages - include confidence levels in the message object - if the confidence of a message is not HIGH or UNDEFINED, include it in the test output. | ||||
* | Check if the instance inherits from a standard exception before unproxying. | cpopa | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Unproxy the infered instances. | cpopa | 2014-08-18 | 1 | -0/+2 |
| | |||||
* | Backout changeset. | cpopa | 2014-08-18 | 1 | -1/+0 |
| | |||||
* | Backout changeset. | cpopa | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Backed out changeset ff26eefc7e0c | cpopa | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Debug. | cpopa | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Uh, drone.io. | cpopa | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Add debug code for drone.io. | cpopa | 2014-08-18 | 1 | -0/+1 |
| | |||||
* | Emit 'catching-non-exception' for non-class nodes. Closes issue #303. | cpopa | 2014-08-18 | 1 | -6/+57 |
| | |||||
* | Cleanup. | cpopa | 2014-08-08 | 1 | -7/+12 |
| | |||||
* | Move inherit_from_std_ex to checkers/utils.py, so that it can be used in ↵ | cpopa | 2014-08-08 | 1 | -18/+4 |
| | | | | other checkers as well. | ||||
* | linting pylint | Sylvain Th?nault | 2014-07-25 | 1 | -6/+6 |
| | |||||
* | Issue broad-except and bare-except even if the number of except handlers is ↵ | cpopa | 2014-06-27 | 1 | -4/+4 |
| | | | | different than 1. Closes issue #113. | ||||
* | Skip uninferable nodes when looking for bad exception contexts | cpopa | 2014-06-15 | 1 | -0/+2 |
| | |||||
* | Add 'indexing-exception' warning, which detects that indexing an exception ↵ | cpopa | 2014-04-22 | 1 | -0/+16 |
| | | | | occurs in Python 2 (behaviour removed in Python 3) | ||||
* | update test_func exhaustivity testing | Sylvain Th?nault | 2014-04-14 | 1 | -1/+2 |
| | | | | | | | * skip messages that can not be emitted * use set instead of list * properly mark max version to some messages and drop now (almost) useless messages list | ||||
* | delete trailing whitespaces | Sylvain Th?nault | 2014-04-14 | 1 | -2/+3 |
| | |||||
* | Emit all warnings by their symbolic names in the exceptions checker. | Torsten Marek | 2014-04-04 | 1 | -18/+19 |
| | |||||
* | Updated FSF address. | Arun Persaud | 2014-02-23 | 1 | -1/+1 |
| | |||||
* | Refactor checks by infering first the cause of the exception. | cpopa | 2014-01-10 | 1 | -11/+10 |
| | |||||
* | Merge with default. | cpopa | 2014-01-03 | 1 | -1/+25 |
|\ | |||||
| * | Add bad-exception-context warning for checking that `raise ... from ...` ↵ | cpopa | 2013-12-28 | 1 | -2/+25 |
| | | | | | | | | sets a proper exception context. | ||||
* | | Use `all` for a clearer intent | cpopa | 2014-01-01 | 1 | -2/+2 |
| | | |||||
* | | Fix false positive for catching-non-exception, for C based exceptions. | cpopa | 2014-01-01 | 1 | -3/+27 |
|/ | |||||
* | various pylint fixes | Sylvain Th?nault | 2013-12-22 | 1 | -7/+7 |
| | |||||
* | Check for non-exception classes inside except clauses. | cpopa | 2013-08-01 | 1 | -3/+15 |
| | |||||
* | some pylint and style fixes | Sylvain Th?nault | 2013-07-31 | 1 | -7/+7 |
| | |||||
* | Mark unpacking-in-except as python2-specific | Julien Cristau | 2013-06-19 | 1 | -1/+2 |
| | |||||
* | Resolve conflict and take feed-back into account for PR #34 | Anthony Truchet | 2013-06-19 | 1 | -1/+2 |
|\ | |||||
| * | Add @check_messages(...) annotations to help not to spend time on unneeded ↵ | Anthony Truchet | 2013-06-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | checks. We only add such annotations is reasonably simple cases. Some visit methods are quite involved and build a checker's state ; such methods are skipped in the first phase. | ||||
* | | Added a new warning unpacking-in-except (W0712) about unpacking | Torsten Marek | 2013-06-18 | 1 | -1/+12 |
|/ | | | | exceptions in handlers, which is unsupported in Python 3. | ||||
* | astng has been renamed astroid | David Douard | 2013-06-17 | 1 | -19/+19 |
| |