git: Only add diffs to .rs files #32
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Right now we add any file that has a diff to the list.
We should only add rust files to the list because it will later allow us to run clippy only when needed (and on needed workspace members).
Maybe we could add a continue statement if the file_name doesn't end with .rs ?
https://github.com/o0Ignition0o/cargo-scout/blob/master/src/git.rs#L91
It would be really awesome if we could add a test to it :)
The text was updated successfully, but these errors were encountered: