Skip to content

Conversation

Strum355
Copy link
Member

Description

We read requirements.txt in (at least) 2 places to parse the lines for dependencies to resolve. We are meant to ignore comments but in one section we were not removing leading whitespace before checking for the presence of the comment token #

Related issues (if any): #167

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

Anything else?

@Strum355 Strum355 requested a review from ruromero April 10, 2025 16:00
Copy link
Collaborator

@ruromero ruromero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@ruromero ruromero merged commit 6e99263 into trustification:main Apr 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle comments in requirements.txt properly
2 participants