<commit_before>PREFIX ?= /usr/local

install:
	bin/check
	docker pull codeclimate/codeclimate:latest
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	install -m 0755 codeclimate-wrapper $(DESTDIR)$(PREFIX)/bin/codeclimate

uninstall:
	$(RM) $(DESTDIR)$(PREFIX)/bin/codeclimate
	docker rmi codeclimate/codeclimate:latest

.PHONY: install uninstall<commit_msg>Force upgrade of existing engine images<commit_after>PREFIX ?= /usr/local

install:
	bin/check
	docker pull codeclimate/codeclimate:latest
	docker images | grep codeclimate/codeclimate- | awk '{print $1}' | while read image; do docker pull $image; done
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	install -m 0755 codeclimate-wrapper $(DESTDIR)$(PREFIX)/bin/codeclimate

uninstall:
	$(RM) $(DESTDIR)$(PREFIX)/bin/codeclimate
	docker rmi codeclimate/codeclimate:latest

.PHONY: install uninstall
{'fraction_non_alphanumeric': 0.12439613526570048, 'fraction_numerical': 0.010869565217391304, 'mean_word_length': 5.851239669421488, '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': '6968706', 'n_tokens_mistral': 300, 'n_tokens_neox': 284, 'n_words': 67}