Skip to content

requirements-txt-fixer does not remove duplicated elements #960

Closed

Description

@csibe17

In requirements-txt-fixer if there are more than 1 requirement with the same params, the duplicates are not removed.

Activity

  1. asottile commented on Sep 6, 2023

    @asottile
    Member

    can you show an example?

  2. csibe17 commented on Sep 6, 2023

    @csibe17
    Author
    dependency1==1.0.0
    dependency2==1.0.0
    dependency3==1.0.0
    dependency1==1.0.0
    

    will end up as

    dependency1==1.0.0
    dependency1==1.0.0
    dependency2==1.0.0
    dependency3==1.0.0
    
  3. j3962 commented on Sep 24, 2023

    @j3962

    I am totally new to contributing on open source. If this is indeed an issue. Can I work on it?'

  4. asottile commented on Sep 24, 2023

    @asottile
    Member

    sure go for it, let me know if you need any help

  5. j3962 commented on Sep 24, 2023

    @j3962

    Sick! Excited!! Let me get back if I need any help. I might be a bit slow, but I'll get it done for sure! Honestly, I don't understand much from the requirements-txt-fixer, but I'll learn it all. And I am so excited about the possibilities. This is gonna be so much fun! Thank you dude! @asottile can you assign the bug to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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