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

Apply current clippy lints #417

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Apply current clippy lints #417

merged 2 commits into from
Feb 29, 2024

Conversation

nanocryk
Copy link
Contributor

Fix what clippy currently complains about.
In a future PR we could add more agressive clippy lints if we want, or agree on some coding patterns not enforced by clippy.

@nanocryk nanocryk added a0-pleasereview Pull request needs code review. B0-silent Changes should not be mentioned in any release notes not-breaking Does not need to be mentioned in breaking changes labels Feb 16, 2024
@tmpolaczyk
Copy link
Contributor

Can we park this until after the polkadot 1.6.0 upgrade? Because this may cause conflicts, and that PR also updates the rust version which will add new lints that will also need to be fixed.

@nanocryk nanocryk added the D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. label Feb 28, 2024
Copy link
Contributor

github-actions bot commented Feb 28, 2024

Coverage Report

(master)

@@                Coverage Diff                @@
##           master   jeremy-clippy      +/-   ##
=================================================
+ Coverage   67.57%          67.79%   +0.22%     
  Files          64              64              
- Lines        9241            9211      -30     
=================================================
  Hits         6244            6244              
- Misses       2997            2967      -30     
Files Changed Coverage
/pallets/collator-assignment/src/assignment.rs 98.79% (+0.01%) 🔼
/pallets/pooled-staking/src/calls.rs 93.75% (-0.03%) 🔽
/primitives/container-chain-genesis-data/src/json.rs 28.70% (+2.54%) 🔼

Coverage generated Wed Feb 28 16:00:50 UTC 2024

@nanocryk nanocryk merged commit 3b2e962 into master Feb 29, 2024
32 checks passed
@nanocryk nanocryk deleted the jeremy-clippy branch February 29, 2024 15:08
girazoki pushed a commit that referenced this pull request Mar 14, 2024
* clippy auto fix

* fix lints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a0-pleasereview Pull request needs code review. B0-silent Changes should not be mentioned in any release notes D5-nicetohaveaudit⚠️ PR contains trivial changes to logic that should be properly reviewed. not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants