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

feat: add flags to clippy to cover more cases #182

Merged

Conversation

tomkarw
Copy link
Contributor

@tomkarw tomkarw commented Jan 31, 2024

  • --workspace, tests whole workspace, important as for non-virtual workspace clippy will lint root crate only
  • --all-features, tests with all features enabled, important to prevent committing broken code behind a feature flag
  • -- -D warnings, fail on warnings, should be the default behavior in pipelines

After internal discussions I opted against setting deny_warnings to True by default, so no "breaking changes" here. Defaulting to True for --workspace and --all-features thus also won't break anything, and should be set by default, as its absence is basically a foot-gun.

@tomkarw tomkarw added type: enhancement New feature or request only: kraken-std This issue affects only kraken-std. labels Jan 31, 2024
@tomkarw tomkarw self-assigned this Jan 31, 2024
@tomkarw tomkarw force-pushed the tomkarw/better-coverage-with-clippy branch from 605a6a6 to 6722ab4 Compare February 8, 2024 12:41
* --workspace, tests whole workspace, important as for non-virtual workspace clippy will lint root crate only
* --all-features, tests with all features enabled, important to prevent commiting broken code behind a feature flag
* -- -D warnings, fail on warnings, should be the default behaviour in pipelines
@tomkarw tomkarw force-pushed the tomkarw/better-coverage-with-clippy branch from 6722ab4 to 4536737 Compare February 8, 2024 12:50
Copy link
Contributor

@NiklasRosenstein NiklasRosenstein left a comment

Choose a reason for hiding this comment

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

LGTM!

.changelog/_unreleased.toml Outdated Show resolved Hide resolved
.changelog/_unreleased.toml Show resolved Hide resolved
@tomkarw tomkarw merged commit 5212cc2 into kraken-build:develop Feb 8, 2024
15 checks passed
@tomkarw tomkarw deleted the tomkarw/better-coverage-with-clippy branch February 8, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
only: kraken-std This issue affects only kraken-std. type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants