Compare commits

..

No commits in common. "master" and "limiter-noalloc" have entirely different histories.

2 changed files with 6 additions and 7 deletions

View file

@ -37,9 +37,3 @@ repos:
pass_filenames: false
types: [go]
language: system
- id: gofumpt
name: gofumpt check
entry: make fumpt
pass_filenames: false
types: [go]
language: system

View file

@ -24,7 +24,12 @@ GOFUMPT_DIR ?= $(abspath $(BIN))/gofumpt
GOFUMPT_VERSION_DIR ?= $(GOFUMPT_DIR)/$(GOFUMPT_VERSION)
# Run all code formatters
fmts: fumpt imports
fmts: fmt imports
# Reformat code
fmt:
@echo "⇒ Processing gofmt check"
@gofumpt -s -w .
# Reformat imports
imports: