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

[chore] sorting lockfile keys and suppressing progress output #171

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AlbertDeFusco
Copy link
Contributor

Some elements of the conda-lock lockfile are unordered dicts or lists. As a quick fix for cases where someone is working with diffs of lockfiles I've sorted the following keys when a lockfile is written

  • metadata.content_hash
  • metadata.platforms
  • package.*.dependencies

Secondly, to support headless uses of conda-project a --quiet flag has been added to all commands and if conda-project detects that your shell is not connected to a TTY will suppress progress-style outputs when not using --quiet.

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

Attention: Patch coverage is 96.22642% with 2 lines in your changes missing coverage. Please review.

Project coverage is 96.66%. Comparing base (f0bec15) to head (eeac36e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/conda_project/utils.py 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   98.23%   96.66%   -1.58%     
==========================================
  Files           9        9              
  Lines        1077     1108      +31     
==========================================
+ Hits         1058     1071      +13     
- Misses         19       37      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant