Skip to content

Conversation

@alpha-tango-kilo
Copy link
Contributor

Something I noticed while working on #140 when I wanted to make sure the macro invocations weren't producing lints. For the unaware, clippy doesn't check code in #[cfg(test)] by default unless you pass the --tests flag, at which point I noticed several errors in existing code

I also noticed that clippy isn't being run as part of the GitHub workflow, which I could add as part of the lint job if you'd like :)

@ebarnard
Copy link
Owner

ebarnard commented Jul 1, 2024

Happy to merge as is, but also happy to add clippy to the lint job as well. Up to you.

@alpha-tango-kilo
Copy link
Contributor Author

I'd merge this for now, and I'll maybe get to the CI tweak at the weekend (no reason why it can't be a seperate PR), cheers!

@ebarnard ebarnard merged commit a458130 into ebarnard:master Jul 1, 2024
@alpha-tango-kilo alpha-tango-kilo deleted the clippy-tests branch July 2, 2024 09:30
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