Tomer
Tomer
This is how it looks  Right now there isn't an official value to access the custom prompt so it is (poorly) extracted from the activation script. - [ ]...
I'd like to have the option to constantly be reminded of my unpushed/unpulled commits. Kind of like how [posh git](https://github.com/dahlbyk/posh-git) does it.
Since python3.5 the `venv` package supports custom display prompts using the `--prompt` argument. The current virtual environment prompt only displays the virtual environments directory name (`$(base name $VIRTUAL_ENV)`). I'd like...
```py Python 3.9.1 (default, Feb 3 2021, 07:04:15) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin ... >>> astor.__version__ '0.8.1' >>> astor.to_source(ast.parse('",".join(i for i in range(10))')) '""",""".join(i for i in range(10))\n' ```
Certain decorators like `Flask.route` point to usage from some external code or framework. I'd like the ability to create a per-project whitelist (maybe with some common defaults) of such decorators...
# New smell ### Smelly code ```py for x in seq: if pred(x): break # Body ``` ### Fixed code ```py from itertools import takewhile # If not already imported...
Run tests for them with tox. Maybe use a backport for f-strings
# New smell ### Smelly code ```py for x in seq: a = transform(x) # Only use a or transform(x) ``` ### Fixed code ```py for a in (transform(x) for...
# New smell ### Smelly code ```py li = list() for x in other_iterable: # Body li += expr ``` ### Fixed code ```py def generate_li(): # Body yield expr...
# New smell ### Smelly code ```py Import pdb; pdb.set_trace ``` ### Fixed code ```py breakpoint() ``` ### Why is it smelly?