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

Re-enable fmt and licenses lints in CI #69

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

cbgbt
Copy link
Contributor

@cbgbt cbgbt commented Aug 8, 2024

Description of changes:
Re-enable fmt and license lints.

I'd like to re-enable clippy, but the dead_code lint is starting to detect our error enum variants if we haven't been careful about conditional compilation or in cases where modules are owned by both a lib and a bin but only a subset of the error variants are used in either. This will take some careful changes to do the right way, but we should really have the licenses lint enabled ASAP.

Testing done:

  • The lints pass

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@@ -55,6 +55,8 @@ deny = [{ name = "structopt" }, { name = "clap", wrappers = ["cargo-readme"] }]
skip = [
# this can be removed once settings sdk is updated to base64 0.22.1
{ name = "base64", version = "=0.21.7" },
# this can be removed once settings sdk is updated to env_logger 0.11
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we have a PR with the update in the Bottlerocket Settings SDK? :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cbgbt cbgbt merged commit 01395c4 into bottlerocket-os:develop Aug 12, 2024
2 checks passed
@cbgbt cbgbt deleted the check-fmt-licenses-ci branch August 12, 2024 06:06
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.

3 participants