<commit_before>deps:
	@pip install -qr requirements.txt

test_deps:
	@pip install -qr test_requirements.txt

test: test_deps
	@nosetests -s --with-coverage --cover-erase --cover-package=app --cover-package=forms --cover-min-percentage=95 --cover-branches
	@flake8 .

run: deps
	@SIGN_KEY=1234 gunicorn -b 127.0.0.1:8888 app:app

extract: deps
	@pybabel extract -F babel.cfg -o messages.pot .

catalog-pt: deps
	@pybabel init -i messages.pot -d translations -l pt

update-catalog: deps
	@pybabel update -i messages.pot -d translations

compile-trans: deps
	@pybabel compile -d translations<commit_msg>Makefile: unify targets for catalog generation<commit_after>deps:
	@pip install -qr requirements.txt

test_deps:
	@pip install -qr test_requirements.txt

test: test_deps
	@nosetests -s --with-coverage --cover-erase --cover-package=app --cover-package=forms --cover-min-percentage=95 --cover-branches
	@flake8 .

run: deps
	@SIGN_KEY=1234 gunicorn -b 127.0.0.1:8888 app:app

catalog-pt: deps
	@pybabel init -i messages.pot -d translations -l pt

update-catalog: deps
	@pybabel extract -F babel.cfg -o messages.pot .
	@pybabel update -i messages.pot -d translations

compile-trans: deps
	@pybabel compile -d translations
{'fraction_non_alphanumeric': 0.11658456486042693, 'fraction_numerical': 0.027914614121510674, 'mean_word_length': 3.935222672064777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5775952', 'n_tokens_mistral': 481, 'n_tokens_neox': 442, 'n_words': 122}