Skip to content

Conversation

@Niederb
Copy link
Contributor

@Niederb Niederb commented May 7, 2025

Run and build the complete workspace. Also update the toolchain such that I get the newest clippy warnings

  • I had to disable clippy for the examples due to "Leakage" of feature flags from test projects #853. The leakage of the feature-flag leads to the sync-api feature being active and then clippy does not manage to compile the features
  • Deactivated taplo for now. Follow up issue Reactivate taplo #854
  • Implemented the clippy-fixes for keystore after all. I could not manage to tell clippy to ignore the crate in all cases.

@Niederb Niederb self-assigned this May 7, 2025
@Niederb Niederb added F3-test fix tests or CI F5-refactor Does not change any functionality of the code E1-breaksnothing labels May 7, 2025
@Niederb Niederb changed the title WIP: Fix clippy warnings Fix clippy warnings Jun 4, 2025
@Niederb Niederb requested a review from haerdib June 4, 2025 08:31
Copy link
Contributor

@haerdib haerdib left a comment

Choose a reason for hiding this comment

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

Thank you very much for the effort! It looks good, apart from one question

cargo clippy -p substrate-api-client -- -D warnings,
cargo clippy -p substrate-api-client --no-default-features -- -D warnings,
cargo clippy -p substrate-api-client --all-features --examples -- -D warnings,
cargo clippy --workspace --exclude ac-keystore --exclude test-no-std -- -D warnings,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the exclude ac-keystore still necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, you are right. I removed it

@Niederb Niederb requested a review from haerdib June 4, 2025 12:35
Copy link
Contributor

@haerdib haerdib left a comment

Choose a reason for hiding this comment

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

👍

@Niederb Niederb merged commit b471a53 into master Jun 5, 2025
56 checks passed
@Niederb Niederb deleted the tn/fix-clippy-issues branch December 9, 2025 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

E1-breaksnothing F3-test fix tests or CI F5-refactor Does not change any functionality of the code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants