Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow instances of tuple of the isinstance() type check (#3425) | Claudiu Popa | 2020-02-27 | 1 | -3/+5 |
| | | | | | astroid can either infer a tuple call as a `Tuple()` node on successful inference or it can infer the call as an `Instance` of the builtin tuple object, on unsuccessful inference. | ||||
* | Allow isinstance-second-argument-not-valid-type to catch more cases | Claudiu Popa | 2020-02-13 | 1 | -0/+1 |
| | |||||
* | Add warning for the case where second argument to isinstance is not a type ↵ | Anubhav | 2020-02-13 | 1 | -0/+28 |
(#3404) The second argument to isinstance must be either a type or a tuple of types. Close #3308 Co-authored-by: Claudiu Popa <pcmanticore@gmail.com> |