ekanshul

Results issues of ekanshul

### Bug description The `invalid-*-returned` checks only accept an instance whose class is *exactly* the builtin. An instance of a subclass of the builtin is reported, even though returning it...

### Bug description `utils.is_terminating_func` treats any call whose callee infers to a node with the qualified name `_sitebuiltins.Quitter` as terminating. That is right for `exit()` / `quit()` (the builtins are...

### Bug description astroid models `BaseException.args` on an exception instance as a *known empty* tuple (`ExceptionInstanceModel.attr_args` returns `nodes.Tuple()` with no elements). Pylint's `unbalanced-tuple-unpacking` therefore reports "right side has 0 values"...

Astroid
Needs astroid update

### Bug description `bad-super-call` looks at every `super(X, y)` call in a method, including those inside functions nested in the method, and compares `X` with the class of the *enclosing*...

### Bug description `arg_matches_format_type` in `pylint/checkers/strings.py` compares `arg_type.pytype()` exactly with `builtins.int` / `builtins.float` / `builtins.str`. Instances of subclasses therefore never match, so `bool`, `IntEnum` members and user subclasses of `float`/`int`...

Two related problems in `BatchLexer`, both coming from the `_core_token` regex that delimits a token in `if` operands, redirection targets and `rem`. ### 1. A variable expansion with substring/replacement syntax...