Skip to content

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

Closed
@greshilov

Description

@greshilov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions