◐ Shell
clean mode source ↗

requirements-txt-fixer doesn't support comments with indent

Consider following example requirements.txt file:

# This comment is fine
a==0.0.1
    #   This comment is not fine
b==0.0.2
# This comment is fine too

Script requirements_txt_fixer.py will fail with AssertionError on line # This comment is not fine.