<commit_before># Makefile for python client

default: test

sdist:
	python setup.py sdist

install:
	python setup.py install

uninstall:
	rm -fr /usr/lib/python2.*/site-packages/zanata*

clean:
	python setup.py clean

run:
	python zanata help

lint:
	pylint -E zanata zanataclient # NB: requires recent version of pylint

lint-report:
	pylint --reports=n zanata zanataclient

test: 
	(cd test; python test_all.py)

all: run lint test sdist

.PHONY: test uninstall
<commit_msg>Makefile: Make "all" as default target; sdist now depends on all, test and lint.<commit_after># Makefile for python client

default: all

sdist: all lint test
	python setup.py sdist

install:
	python setup.py install

uninstall:
	rm -fr /usr/lib/python2.*/site-packages/zanata*

clean:
	python setup.py clean
	rm -f zanataclient/VERSION-FILE

run:
	python zanata help

lint:
	pylint -E zanata zanataclient # NB: requires recent version of pylint

lint-report:
	pylint --reports=n zanata zanataclient

test: 
	(cd test; python test_all.py)

all: zanataclient/VERSION-FILE

zanataclient/VERSION-FILE:
	./VERSION-GEN

help:
	@echo "Avail targets:"
	@echo "   all sdist install uninstall clean run lint lint-report test"
	@echo ""
	@echo "For help on zanata itself, use 'make run'"


.PHONY: all sdist install uninstall clean run lint lint-report test

{'fraction_non_alphanumeric': 0.08761329305135952, 'fraction_numerical': 0.0015105740181268882, 'mean_word_length': 4.018939393939394, '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': '5839010', 'n_tokens_mistral': 498, 'n_tokens_neox': 489, 'n_words': 161}