isort
isort copied to clipboard
Any approach to trim empty lines before imports?
trafficstars
Here is a file naming test.py and I tried to use isort --float-to-top --lines-before-imports 0 test.py but nothing changed.
"""TEST"""
import a
def foo():
pass
Expected results might be
"""TEST"""
import a
def foo():
pass
I noticed there is a NOTE for the option float_to_top, just want to ensure if there is any approach currently to achieve that.
@huxuan I can solve this issue. Plz assign it to me.
Hi @SarthakJaindebugger, seems I do not have permission to assign an issue, maybe you can contact the maintainer or send a pull request fixing this issue directly.