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

Add pedantic clippy lints #1

Merged
merged 1 commit into from Aug 28, 2021

Conversation

wcampbell0x2a
Copy link
Contributor

Fix some pedantic options for clippy lints

Motivation

No issues with code, just ran padantic clippy over the project to get to understand the code a bit better.

Cool project, excited to play around with this!

Fix some pedantic options for clippy lints

Signed-off-by: wcampbell <wcampbell1995@gmail.com>
@bastibl bastibl merged commit 80df2af into FutureSDR:master Aug 28, 2021
@bastibl
Copy link
Member

bastibl commented Aug 28, 2021

Cool, the first PR :-) Thanks! I fixed similar issues, but these didn't pop up. Did you run clippy with any special arguments?

@wcampbell0x2a wcampbell0x2a deleted the apply-more-clippy branch August 28, 2021 11:55
@wcampbell0x2a
Copy link
Contributor Author

I use -W clippy::pedantic -W clippy::nursery but these are more experimental and have a ton of false positives. Wouldn't turn them on in a CI.

@bastibl
Copy link
Member

bastibl commented Aug 28, 2021

Thanks, I didn't know about them. Have to checkout clippy more carefully :-)

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.

None yet

2 participants