<commit_before>export DJANGO_SETTINGS_MODULE=froide.settings
export DJANGO_CONFIGURATION=Test
export PYTHONWARNINGS=default

test:
	flake8 froide
	coverage run --branch manage.py test froide --keepdb
	coverage report

testci:
	coverage run --branch manage.py test froide --exclude-tag ui --keepdb
	coverage report

testui:
	coverage run --branch manage.py test froide.tests.live --keepdb

.PHONY: htmlcov
htmlcov:
	coverage html<commit_msg>Add makemessages target Makefile<commit_after>export DJANGO_SETTINGS_MODULE=froide.settings
export DJANGO_CONFIGURATION=Test
export PYTHONWARNINGS=default

test:
	flake8 froide
	coverage run --branch manage.py test froide --keepdb
	coverage report

testci:
	coverage run --branch manage.py test froide --exclude-tag ui --keepdb
	coverage report

testui:
	coverage run --branch manage.py test froide.tests.live --keepdb

.PHONY: htmlcov
htmlcov:
	coverage html

makemessagesde:
	django-admin makemessages -l de --ignore public --ignore froide-env --ignore node_modules --ignore htmlcov
{'fraction_non_alphanumeric': 0.076171875, 'fraction_numerical': 0.001953125, 'mean_word_length': 4.694444444444445, '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': '2661895', 'n_tokens_mistral': 348, 'n_tokens_neox': 342, 'n_words': 101}