Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning for empty requirements files #1519

Merged
merged 4 commits into from
Feb 16, 2024
Merged

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Feb 16, 2024

Also, improve tracing of requirements file parsing.

Per my confusion in #1334

Also, improve tracing of requirements file parsing
@zanieb zanieb added tracing Verbose output and debugging error messages Messaging when something goes wrong labels Feb 16, 2024
@zanieb zanieb enabled auto-merge (squash) February 16, 2024 18:15
@zanieb zanieb merged commit 2ea44d8 into main Feb 16, 2024
7 checks passed
@zanieb zanieb deleted the zb/warn-empty-requirements branch February 16, 2024 18:19
match self {
Self::Editable(path) => write!(f, "-e {path}"),
Self::RequirementsTxt(path) | Self::PyprojectToml(path) => {
write!(f, "{}", path.display())
Copy link
Member

Choose a reason for hiding this comment

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

Oops, it should actually be .normalized_display

Copy link
Member Author

Choose a reason for hiding this comment

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

Ugh lol

Copy link
Member Author

Choose a reason for hiding this comment

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

What's different? Windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error messages Messaging when something goes wrong tracing Verbose output and debugging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants