Skip to content

Comments

Rusty hook#20

Open
klautcomputing wants to merge 4 commits intomainfrom
rusty_hook
Open

Rusty hook#20
klautcomputing wants to merge 4 commits intomainfrom
rusty_hook

Conversation

@klautcomputing
Copy link
Contributor

Play around with it for a bit and see whether you like the workflow, it should make sure we always have formatted and clippy'd code.

(If you are happy I will squash my test commits but feel free to add your own!)

@@ -0,0 +1,6 @@
[hooks]
pre-commit = "cargo test"
pre-push = "cargo test && cargo check && cargo clippy && cargo fmt -- --check"
Copy link
Collaborator

Choose a reason for hiding this comment

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

These run pre-push but they don't stop the push when warnings are generated by clippy for example.

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