<commit_before>.PHONY: lint-fix
lint-fix:
	golangci-lint run --new-from-rev=origin/master --fix

.PHONY: lint-install
lint-install:
	go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1

.PHONY: lint-check-diff
lint-check-diff:
	golangci-lint run --new-from-rev=origin/master

.PHONY: lint-check-all
lint-check-all:
	golangci-lint run ./...<commit_msg>Add GO111MODULE=on for linter to avoid problems with users using GO111MODULE=auto (#1270)<commit_after>.PHONY: lint-fix
lint-fix:
	golangci-lint run --new-from-rev=origin/master --fix

.PHONY: lint-install
lint-install:
	GO111MODULE=on go get -u github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1

.PHONY: lint-check-diff
lint-check-diff:
	GO111MODULE=on golangci-lint run --new-from-rev=origin/master

.PHONY: lint-check-all
lint-check-all:
	GO111MODULE=on golangci-lint run ./...
{'fraction_non_alphanumeric': 0.1483644859813084, 'fraction_numerical': 0.03154205607476635, 'mean_word_length': 4.071005917159764, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4969416', 'n_tokens_mistral': 382, 'n_tokens_neox': 343, 'n_words': 63}