<commit_before>test :: unit_test checks

# The vet, fmt and lint rules have been extracted from:
# 	github.com/docker/distribution

vet ::
	@echo "+ $@"
		@go vet ./...

fmt ::
	@echo "+ $@"
		@test -z "$$(gofmt -s -l . | grep -v vendor | tee /dev/stderr)" || \
			echo "+ please format Go code with 'gofmt -s'"

lint ::
	@echo "+ $@"
		@test -z "$$(golint ./... | grep -v vendor | tee /dev/stderr)"

climate ::
	@echo "+ $@"
		@(./script/climate -o -a app && ./script/climate -o -a -t 80.0 lib)

unit_test ::
	@echo "+ $@"
		@go test -v ./...

checks :: vet fmt lint climate
<commit_msg>Fixed vet command<commit_after>test :: unit_test checks

# The vet, fmt and lint rules have been extracted from:
# 	github.com/docker/distribution

vet ::
	@echo "+ $@"
		@go list ./... | grep -v vendor | go vet

fmt ::
	@echo "+ $@"
		@test -z "$$(gofmt -s -l . | grep -v vendor | tee /dev/stderr)" || \
			echo "+ please format Go code with 'gofmt -s'"

lint ::
	@echo "+ $@"
		@test -z "$$(golint ./... | grep -v vendor | tee /dev/stderr)"

climate ::
	@echo "+ $@"
		@(./script/climate -o -a app && ./script/climate -o -a -t 80.0 lib)

unit_test ::
	@echo "+ $@"
		@go test -v ./...

checks :: vet fmt lint climate

{'fraction_non_alphanumeric': 0.21292460646230324, 'fraction_numerical': 0.004971002485501243, 'mean_word_length': 2.4220963172804533, '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': '4238006', 'n_tokens_mistral': 508, 'n_tokens_neox': 466, 'n_words': 147}