Skip to content

Fix item field ordering on save_object #1423

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

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

moradology
Copy link
Contributor

@moradology moradology commented Oct 2, 2024

Related Issue(s):

Description:
This PR fixes item field ordering in accordance with the order defined here. Additionally, I've fixed what appears to be a small configuration error in pre-commit.config.yaml such that ruff-format wasn't actually fixing ill-formatted files.

PR Checklist:

  • Pre-commit hooks and tests pass (run scripts/test)
  • Documentation has been updated to reflect changes, if applicable
  • This PR maintains or improves overall codebase code coverage.
  • Changes are added to the CHANGELOG. See the docs for information about adding to the changelog.

@moradology moradology force-pushed the feature/item-field-ordering branch from 074f79f to bee2978 Compare October 2, 2024 19:05
@moradology
Copy link
Contributor Author

@jsignell I think this ought to be good to go

@moradology moradology force-pushed the feature/item-field-ordering branch from bee2978 to d5fb435 Compare October 2, 2024 19:09
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.21%. Comparing base (72deee6) to head (b2cc0e7).
Report is 26 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1423      +/-   ##
==========================================
+ Coverage   91.20%   91.21%   +0.01%     
==========================================
  Files          52       52              
  Lines        7239     7237       -2     
  Branches     1019     1018       -1     
==========================================
- Hits         6602     6601       -1     
  Misses        457      457              
+ Partials      180      179       -1     

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

@gadomski gadomski added this to the v1.11 milestone Oct 3, 2024
@moradology moradology force-pushed the feature/item-field-ordering branch from a8d6daf to b2cc0e7 Compare October 3, 2024 13:59
@moradology moradology requested a review from gadomski October 3, 2024 14:00
@gadomski gadomski added this pull request to the merge queue Oct 3, 2024
Merged via the queue into stac-utils:main with commit 7ccc7df Oct 3, 2024
20 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.

Order of Item fields
2 participants