Commit graph

32 commits

Author SHA1 Message Date
Nathaniel Waisbrot ba88882ecb Automatically tag every commit to 'master'
Use Github workflow to tag every commit to master. Tags follow
the format v1, v2, v3, etc.

fixes #3
2020-08-12 12:45:39 -04:00
Fadi Hadzh 14b3e118cf
Merge pull request #10 from teymour-aldridge/patch-1
Add a `clippy` hook.
2020-07-05 08:00:27 +03:00
Fadi Hadzh 2c7d026203
Merge pull request #9 from DanielChabrowski/format-arguments
Allow passing fmt arguments
2020-07-05 07:59:53 +03:00
Teymour Aldridge 06f8e3769e
Add a clippy hook. 2020-06-20 19:43:38 +01:00
DanielChabrowski 2630d3537d Add fmt arguments example to readme 2020-06-20 03:04:58 +02:00
DanielChabrowski a76233c81c Pass filenames with args 2020-06-20 02:46:24 +02:00
DanielChabrowski b60ba3790b Use https instead of git protocol 2020-06-20 02:00:53 +02:00
DanielChabrowski 77fcfde371 Allow passing arguments to fmt, do not pass filenames 2020-06-20 01:43:12 +02:00
DanielChabrowski e06d845e5b Autoupdate pre-commit 2020-06-20 01:36:16 +02:00
Fadi Hadzh c9d5fe3776
Merge pull request #6 from mathieu-lemay/master
Use `cargo fmt` instead of `rustfmt`
2020-05-08 03:35:55 +03:00
Mathieu Lemay 84b3445a55
Revert "Allow user to send args to cargo fmt, not just to rustfmt"
This actually broke the hook. The -- needs to be present for pre-commit
to be able to pass the file names to run the hook on.

This reverts commit 4bb2cb56a1.
2020-04-30 21:11:24 -04:00
Mathieu Lemay 4bb2cb56a1
Allow user to send args to cargo fmt, not just to rustfmt 2020-04-07 10:37:11 -04:00
Mathieu Lemay 257c8ca7b4
Use types instead of files 2020-01-12 16:03:33 -05:00
Mathieu Lemay 6db38901bf
Use cargo fmt instead of rustfmt 2020-01-12 16:02:48 -05:00
Fadi Hadzh 55f347186a
Merge pull request #5 from zsol/clippy
add clippy hook
2019-08-18 20:48:48 +03:00
Zsolt Dollenstein 682a690c2e
add clippy hook 2019-08-18 17:55:30 +02:00
Fadi Hadzh ebc9050d3d
Merge pull request #4 from frangio/cargo-check
Add cargo check hook
2019-05-07 23:41:03 +03:00
Francisco Giordano f1a2d283c8 add cargo-check hook to readme 2019-05-05 20:19:52 -03:00
Francisco Giordano 136c79f41a add cargo check hook 2019-05-05 20:17:37 -03:00
Fadi Hadzh 210883a5b8
Merge pull request #2 from Calinou/update-configuration-example
docs: Update configuration example
2018-10-16 18:59:38 +03:00
Hugo Locurcio f56e09d387
docs: Update configuration example
`sha` was renamed to `rev` in pre-commit 1.9.0.

This also changes URLs to use https:// instead of git://, which
works better behind a firewall.
2018-10-16 15:15:48 +02:00
Fadi Hadzh b10a4b5541 fix(pre-commit): hook 2018-07-31 07:12:55 +03:00
Fadi Hadzh 40862989fd fix: rustfmt 2018-07-26 23:07:00 +03:00
Fadi Hadzh f45be2c4bc chore(pre-commit): update dependecies 2018-07-26 22:57:01 +03:00
Fadi Hadzh a21a2b12e7 chore(pre-commit): update dependecies 2018-03-21 00:21:50 +03:00
Fadi Hadzh d00f8d4c0d fix: hook entry 2017-12-30 01:32:34 +03:00
Fadi Hadzh 2869d1c905 chore: update dependecies 2017-12-28 02:30:58 +03:00
Fadi Hadzh 0b6a8f0d3b chore(pre-commit): update dependecies 2017-10-30 22:06:31 +03:00
Fadi Hadzh 209330e026 chore: update dependecies 2017-08-09 22:37:26 +03:00
Fadi Hadzh a0930dcc49 fix: disable rlib ext in hooks 2017-04-17 12:18:53 +03:00
Fadi Hadzh 8d756f2c8d fix: disable rlib ext 2017-04-17 12:18:15 +03:00
Fadi Hadzh 57a76ea7f6 feat: initial commit 2017-04-13 15:30:33 +03:00