<commit_before>export GOLANGCI_LINT:=$(GOPATH)/bin/golangci-lint
export _SELF:=$(lastword $(MAKEFILE_LIST))
GOLANGCI_LINT_VERSION:=v1.16.0

# grab the gometalinter binary and install the actual linters
$(GOLANGCI_LINT): | $(GOPATH)
	$(call PROMPT,Installing $@)
	curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_LINT_VERSION)

tools:: $(GOLANGCI_LINT_VERSION)

clean-tools::
	rm -f $(GOLANGCI_LINT_VERSION)

update-tools::
	curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_LINT_VERSION)<commit_msg>update golangci-lint<commit_after>export GOLANGCI_LINT:=$(GOPATH)/bin/golangci-lint
export _SELF:=$(lastword $(MAKEFILE_LIST))
GOLANGCI_LINT_VERSION:=v1.21.0

# grab the gometalinter binary and install the actual linters
$(GOLANGCI_LINT): | $(GOPATH)
	$(call PROMPT,Installing $@)
	curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_LINT_VERSION)

tools:: $(GOLANGCI_LINT_VERSION)

clean-tools::
	rm -f $(GOLANGCI_LINT_VERSION)

update-tools:: update-golangci-lint

update-golangci-lint:
	curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin $(GOLANGCI_LINT_VERSION)
{'fraction_non_alphanumeric': 0.15769522365428354, 'fraction_numerical': 0.006065200909780136, 'mean_word_length': 5.534653465346534, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '73567', 'n_tokens_mistral': 567, 'n_tokens_neox': 529, 'n_words': 86}