Tomer

Results 32 issues of Tomer

This is how it looks ![venv](https://user-images.githubusercontent.com/6463334/44393278-e990c580-a53c-11e8-92ef-0c5472211e13.gif) Right now there isn't an official value to access the custom prompt so it is (poorly) extracted from the activation script. - [ ]...

enhancement

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.

enhancement

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...

enhancement

```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...

smell

Run tests for them with tox. Maybe use a backport for f-strings

enhancement
new

# 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...

help wanted
smell

# New smell ### Smelly code ```py li = list() for x in other_iterable: # Body li += expr ``` ### Fixed code ```py def generate_li(): # Body yield expr...

smell
new

# New smell ### Smelly code ```py Import pdb; pdb.set_trace ``` ### Fixed code ```py breakpoint() ``` ### Why is it smelly?

smell