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

Treat clippy's warning as errors #102

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Treat clippy's warning as errors #102

merged 1 commit into from
Oct 14, 2023

Conversation

AdityaRanjanJha
Copy link
Contributor

Closes #100 Treat clippy's warning as errors

##Description:

This pull request updates the .github/workflows/lint.yml file to modify the command used to run cargo clippy. The change is aimed at including the -D warnings flag to control which lints are shown and adding a . to specify the target directory for linting.

##Changes Made:

  • Updated the lint.yml file to run cargo clippy with the -D warnings flag.
  • Added a . to specify the target directory for linting.

##Testing:

I have tested this change locally to ensure that it works as expected. The modified command correctly lints the code with only the warning-level lints within the current directory.

Copy link
Owner

@kyu08 kyu08 left a comment

Choose a reason for hiding this comment

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

@AdityaRanjanJha
Looks great!
Thanks for your first contribution!
Also thanks for explaining more about PR, it's very helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Treat clippy's warning as errors
2 participants