forked from TrueCloudLab/frostfs-qos
Compare commits
4 commits
limiter-no
...
master
Author | SHA1 | Date | |
---|---|---|---|
3e7ca94035 | |||
d752a1c95e | |||
deaae4d37a | |||
25102d1e1a |
2 changed files with 7 additions and 6 deletions
|
@ -37,3 +37,9 @@ repos:
|
|||
pass_filenames: false
|
||||
types: [go]
|
||||
language: system
|
||||
- id: gofumpt
|
||||
name: gofumpt check
|
||||
entry: make fumpt
|
||||
pass_filenames: false
|
||||
types: [go]
|
||||
language: system
|
||||
|
|
7
Makefile
7
Makefile
|
@ -24,12 +24,7 @@ GOFUMPT_DIR ?= $(abspath $(BIN))/gofumpt
|
|||
GOFUMPT_VERSION_DIR ?= $(GOFUMPT_DIR)/$(GOFUMPT_VERSION)
|
||||
|
||||
# Run all code formatters
|
||||
fmts: fmt imports
|
||||
|
||||
# Reformat code
|
||||
fmt:
|
||||
@echo "⇒ Processing gofmt check"
|
||||
@gofumpt -s -w .
|
||||
fmts: fumpt imports
|
||||
|
||||
# Reformat imports
|
||||
imports:
|
||||
|
|
Loading…
Add table
Reference in a new issue