mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 13:22:46 +00:00
Add ineffassign to the pre-commit hooks (#139)
* Add ineffassign to the pre-comiit hooks * Fix travis.yml * Only apply ineffassign to the /src directory
This commit is contained in:
parent
472155837b
commit
5e490e773f
3 changed files with 2 additions and 5 deletions
|
@ -18,6 +18,7 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
ineffassign ./src/
|
||||
go tool vet --all --shadow ./src
|
||||
gocyclo -over 12 src/
|
||||
gb test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue