isort
isort copied to clipboard
`sort_reexports` breaks `__all__` symbol
repro
- install isort from current head ( c6a41965247a858a0afd848fbebfca18b8983917 )
- create
test.pywith one line__all__ = ["b", "c", "a"] - create either config file with
sort_reexports = trueand runisort test.pyor runisort --sort_reexports test.py
The above line in test.py will be changed into...
___all__ = ["a", "b", "c"]
Please note the third underline character at the beginning of the symbol.
Python 3.8.10 on Ubuntu 20.04