<commit_before>.PHONY: all clean requirements develop test lint flake8 isort dist

all: clean requirements dist

default: develop

clean:
	find src -name '*.pyc' -delete
	find tests -name '*.pyc' -delete
	find . -name '*.egg-info' -delete

requirements:
	pip install --upgrade -e .

develop: clean requirements

test:
	py.test --nomigrations --reuse-db tests/

retest:
	py.test --nomigrations --reuse-db tests/ -vvv

coverage:
	py.test --cov=personalisation --cov-report=term-missing --cov-report=html

lint: flake8 isort

flake8:
	pip install flake8 flake8-debugger flake8-blind-except
	flake8 src/

isort:
	pip install isort
	isort --recursive src tests


dist:
	./setup.py sdist bdist_wheel<commit_msg>fixes coverage make command :shipit:<commit_after>.PHONY: all clean requirements develop test lint flake8 isort dist

all: clean requirements dist

default: develop

clean:
	find src -name '*.pyc' -delete
	find tests -name '*.pyc' -delete
	find . -name '*.egg-info' -delete

requirements:
	pip install --upgrade -e .

develop: clean requirements

test:
	py.test --nomigrations --reuse-db tests/

retest:
	py.test --nomigrations --reuse-db tests/ -vvv

coverage:
	py.test --nomigrations --reuse-db tests/ --cov=personalisation --cov-report=term-missing --cov-report=html

lint: flake8 isort

flake8:
	pip install flake8 flake8-debugger flake8-blind-except
	flake8 src/

isort:
	pip install isort
	isort --recursive src tests


dist:
	./setup.py sdist bdist_wheel
{'fraction_non_alphanumeric': 0.11186903137789904, 'fraction_numerical': 0.009549795361527967, 'mean_word_length': 3.5559006211180124, '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': '7667900', 'n_tokens_mistral': 540, 'n_tokens_neox': 523, 'n_words': 162}