pre-commit: no need for args
All checks were successful
continuous-integration/drone/push Build is passing

as per the website:
  When creating local hooks, there's no reason to put command arguments
  into args as there is nothing which can override them -- instead put
  your arguments directly in the hook entry.

ref: https://pre-commit.com/#arguments-pattern-in-hooks

also add some little niceness to 'make test'
This commit is contained in:
surtur 2021-12-29 04:45:23 +01:00
parent b5601acfbd
commit 56e6aa6b15
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -30,19 +30,16 @@ repos:
hooks:
- id: make-test
name: make test
entry: make
args: ["test"]
entry: nice -n 3 make test
language: system
pass_filenames: false
- id: build-release
name: make release
entry: make
args: ["release"]
entry: make release
language: system
pass_filenames: false
- id: make-san
name: make san
entry: make
args: ["san"]
entry: make san
language: system
pass_filenames: false