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: fix clippy warnings #292

Merged
merged 3 commits into from
Aug 30, 2023
Merged

chore: fix clippy warnings #292

merged 3 commits into from
Aug 30, 2023

Conversation

flavio
Copy link
Member

@flavio flavio commented Aug 29, 2023

Ensure latest version of clippy shipped with rust 1.72 is happy.

The fixes have been made with a quick run of cargo clippy --fix

Ensure latest version of clippy shipped with rust 1.72 is happy

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
The GH action running clippy was configured to ignore a clippy linter
warning. This lint error has been fixed, hence the exception can be
removed.

Moreover, the Makefile has been updated to ensure clippy is invoked in
the same way as by the GH action.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio marked this pull request as draft August 29, 2023 16:42
@flavio
Copy link
Member Author

flavio commented Aug 29, 2023

converting to draft, I have to fix one deprecation warning

Update to latest version of chrono, fix deprecation warnings.

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio marked this pull request as ready for review August 30, 2023 07:01
@flavio
Copy link
Member Author

flavio commented Aug 30, 2023

ready for review, everything should be green this time

Copy link
Collaborator

@viccuad viccuad left a comment

Choose a reason for hiding this comment

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

LGTM

@flavio flavio merged commit 495ca2e into sigstore:main Aug 30, 2023
6 checks passed
@flavio flavio deleted the fix-clippy branch August 30, 2023 08:00
flavio added a commit that referenced this pull request Dec 13, 2023
What's Changed
==============
* chore(deps): Update rstest requirement from 0.17.0 to 0.18.1 by @dependabot in #282
* chore(deps): do not enable default features of chrono by @flavio in #286
* chore(deps): Update pem requirement from 2.0 to 3.0 by @dependabot in #289
* conformance: add conformance CLI and action by @jleightcap in #287
* chore: fix clippy warnings by @flavio in #292
* chore(deps): Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #291
* chore(deps): Update tough requirement from 0.13 to 0.14 by @dependabot in #290
* chore(deps): update to latest version of picky by @flavio in #293
* chore(deps): Bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #294
* chore: add repository link to Cargo metadata by @flavio in #297
* chore(deps): Update cached requirement from 0.44.0 to 0.45.1 by @dependabot in #298
* chore(deps): Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #302
* chore(deps): Update cached requirement from 0.45.1 to 0.46.0 by @dependabot in #301
* chore(deps): Update testcontainers requirement from 0.14 to 0.15 by @dependabot in #303
* chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #304
* cosign/tuf: use trustroot by @jleightcap in #305
* Fix broken tests, update deps by @flavio in #313

New Contributors
================

* @jleightcap made their first contribution in #287

**Full Changelog**: v0.7.2...v0.8.0

Signed-off-by: Luke Hinds <luke@stacklok.com>
Co-authored-by: Flavio Castelli <fcastelli@suse.com>
flavio added a commit that referenced this pull request Dec 13, 2023
What's Changed
==============
* chore(deps): Update rstest requirement from 0.17.0 to 0.18.1 by @dependabot in #282
* chore(deps): do not enable default features of chrono by @flavio in #286
* chore(deps): Update pem requirement from 2.0 to 3.0 by @dependabot in #289
* conformance: add conformance CLI and action by @jleightcap in #287
* chore: fix clippy warnings by @flavio in #292
* chore(deps): Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #291
* chore(deps): Update tough requirement from 0.13 to 0.14 by @dependabot in #290
* chore(deps): update to latest version of picky by @flavio in #293
* chore(deps): Bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #294
* chore: add repository link to Cargo metadata by @flavio in #297
* chore(deps): Update cached requirement from 0.44.0 to 0.45.1 by @dependabot in #298
* chore(deps): Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #302
* chore(deps): Update cached requirement from 0.45.1 to 0.46.0 by @dependabot in #301
* chore(deps): Update testcontainers requirement from 0.14 to 0.15 by @dependabot in #303
* chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #304
* cosign/tuf: use trustroot by @jleightcap in #305
* Fix broken tests, update deps by @flavio in #313

New Contributors
================

* @jleightcap made their first contribution in #287

**Full Changelog**: v0.7.2...v0.8.0

Signed-off-by: Luke Hinds <luke@stacklok.com>
Co-authored-by: Flavio Castelli <fcastelli@suse.com>
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.

2 participants