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: inline format args to improve readability #3154

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented Jan 21, 2025

Using this command, fixed format argument inlining to improve readability, and fix a few minor related styling issues like trailing commas in a single line.

cargo clippy --all-targets --workspace -- -D clippy::uninlined_format_args

@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate labels Jan 21, 2025
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 43.22034% with 67 lines in your changes missing coverage. Please review.

Project coverage is 72.21%. Comparing base (d06e4dc) to head (236e184).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/core/src/kernel/models/actions.rs 22.22% 6 Missing and 1 partial ⚠️
crates/benchmarks/src/bin/merge.rs 0.00% 5 Missing ⚠️
crates/core/src/delta_datafusion/mod.rs 16.66% 5 Missing ⚠️
crates/core/src/table/builder.rs 16.66% 5 Missing ⚠️
crates/core/src/table/state_arrow.rs 20.00% 4 Missing ⚠️
crates/aws/src/lib.rs 0.00% 3 Missing ⚠️
crates/core/src/kernel/models/schema.rs 0.00% 3 Missing ⚠️
crates/core/src/operations/cast/merge_schema.rs 0.00% 3 Missing ⚠️
crates/core/src/writer/record_batch.rs 0.00% 0 Missing and 3 partials ⚠️
crates/lakefs/src/logstore.rs 40.00% 3 Missing ⚠️
... and 22 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3154      +/-   ##
==========================================
+ Coverage   72.14%   72.21%   +0.07%     
==========================================
  Files         143      143              
  Lines       45692    45599      -93     
  Branches    45692    45599      -93     
==========================================
- Hits        32966    32931      -35     
+ Misses      10643    10594      -49     
+ Partials     2083     2074       -9     

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

@nyurik nyurik force-pushed the inline-fmt branch 2 times, most recently from ca1d54b to 1329db9 Compare February 14, 2025 19:49
@ion-elgreco
Copy link
Collaborator

@nyurik can you resolve the conflicts, then we can merge it

Using this command, fixed format argument inlining to improve readability, and fix a few minor related styling issues like trailing commas in a single line.

```
cargo clippy --all-targets --workspace -- -D clippy::uninlined_format_args
```

Signed-off-by: Yuri Astrakhan <[email protected]>
@nyurik
Copy link
Contributor Author

nyurik commented Feb 22, 2025

@ion-elgreco thx, done

@ion-elgreco ion-elgreco added this pull request to the merge queue Feb 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 22, 2025
@ion-elgreco ion-elgreco added this pull request to the merge queue Feb 22, 2025
Merged via the queue into delta-io:main with commit 81d85c0 Feb 22, 2025
28 checks passed
@nyurik nyurik deleted the inline-fmt branch February 22, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants