Ali Hamdan

Results 12 issues of Ali Hamdan

I am trying my luck with #1534. I am not familiar with isort internals though so I don't know how I am doing. I appreciate if you could take a...

Add a `ColoredHelpFormatter` argparse formatter class that colors the command line arguments of mypy CLI help. The formatter uses the existing `FancyFormatter` for the coloring itself and the detection of...

Fixes #12441 Edit: Also fixes #9986

* Fix handling of nested imports. Instead of assuming that a name is imported from a top level package, look in the imports for this name starting from the parent...

Fixes #13238 See also https://github.com/python/typeshed/issues/8988 cc @AlexWaygood @JelleZijlstra

## Type of changes - [x] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist -...

**Crash Report** **Traceback** ``` main.py:3: error: Name "TypeVarTuple" is not defined [name-defined] main.py:4: error: Variable "__main__.Ts" is not valid as a type [valid-type] main.py:4: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases main.py:5: error: Bad...

crash
topic-type-alias
topic-pep-646

Builds on top of and supersedes #16644

upnext

Unless there is a reason to have the error, I think this improves the developer experience.

### What's the problem this feature will solve? Reading the help of a large CLI like pip can sometimes be difficult because of the amount of information displayed on the...

type: feature request
C: cli