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

Remove sorting on attrdict key nesting #578

Merged
merged 4 commits into from Feb 29, 2024
Merged

Remove sorting on attrdict key nesting #578

merged 4 commits into from Feb 29, 2024

Conversation

brynpickering
Copy link
Member

@brynpickering brynpickering commented Feb 28, 2024

Fixes #576

Summary of changes in this pull request:

  • Remove sorting on key nesting
  • Add test
  • Snuck in some missing changelog entries

Reviewer checklist:

  • Test(s) added to cover contribution
  • Documentation updated
  • Changelog updated
  • Coverage maintained or improved

Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.86%. Comparing base (872978d) to head (6af8eb0).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #578      +/-   ##
==========================================
+ Coverage   95.85%   95.86%   +0.01%     
==========================================
  Files          24       24              
  Lines        3619     3629      +10     
  Branches      788      724      -64     
==========================================
+ Hits         3469     3479      +10     
  Misses         86       86              
  Partials       64       64              
Files Coverage Δ
src/calliope/attrdict.py 96.51% <100.00%> (ø)

sjpfenninger
sjpfenninger previously approved these changes Feb 28, 2024
CHANGELOG.md Outdated

|new| `py.typed` file so that mypy recognises Calliope as a typed library when it is imported as a dependency.

|changed| GitHub action versions updated: `codecov/codecov-action` -> v4, `actions/checkout` -> v4, `dawidd6/action-download-artifact` -> v3.
Copy link
Member

Choose a reason for hiding this comment

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

Do we want CI changes in the changelog? We didn't in the past, but I realise some CI-related changes have been there since 0.7.0.dev2

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe we don't, you're right

@brynpickering brynpickering merged commit c8bafb0 into main Feb 29, 2024
13 checks passed
@brynpickering brynpickering deleted the unsort-attrdict branch February 29, 2024 11:24
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.

AttrDict sorts keys on union
2 participants