<commit_before># These targets are not files
.PHONY: install upgrade sandbox demo coverage ci i18n lint travis docs

install:
	pip install -r requirements.txt --use-mirrors
	python setup.py develop

upgrade:
	pip install --upgrade -r requirements.txt --use-mirrors
	python setup.py develop --upgrade

sandbox: install
	-rm -f sites/sandbox/db.sqlite
	# Create database
	sites/sandbox/manage.py syncdb --noinput
	sites/sandbox/manage.py migrate
	# Import some fixtures
	sites/sandbox/manage.py oscar_import_catalogue sites/_fixtures/books-catalogue.csv
	sites/sandbox/manage.py oscar_import_catalogue_images sites/_fixtures/books-images.tar.gz
	sites/sandbox/manage.py loaddata countries.json sites/_fixtures/pages.json sites/_fixtures/auth.json sites/_fixtures/ranges.json sites/_fixtures/offers.json
	sites/sandbox/manage.py rebuild_index --noinput

demo: install
	-rm -f sites/demo/db.sqlite
	# Create database
	sites/demo/manage.py syncdb --noinput
	sites/demo/manage.py migrate
	# Import some fixtures
	sites/demo/manage.py oscar_import_catalogue sites/_fixtures/books-catalogue.csv
	sites/demo/manage.py oscar_import_catalogue_images sites/_fixtures/books-images.tar.gz
	sites/demo/manage.py loaddata countries.json sites/_fixtures/pages.json sites/_fixtures/auth.json sites/_fixtures/ranges.json
	sites/demo/manage.py rebuild_index --noinput

docs:
	cd docs && make html

coverage:
	coverage run ./runtests.py
	coverage xml -i

# We probably should use upgrade instead of install here but we have a conflict
# around django versions which conflicts with tox.  Use install for now until
# upgrade can run without conflict.
ci: install lint coverage<commit_msg>Reinstante xunit file generation for 'ci' make target<commit_after># These targets are not files
.PHONY: install upgrade sandbox demo coverage ci i18n lint travis docs

install:
	pip install -r requirements.txt --use-mirrors
	python setup.py develop

upgrade:
	pip install --upgrade -r requirements.txt --use-mirrors
	python setup.py develop --upgrade

sandbox: install
	-rm -f sites/sandbox/db.sqlite
	# Create database
	sites/sandbox/manage.py syncdb --noinput
	sites/sandbox/manage.py migrate
	# Import some fixtures
	sites/sandbox/manage.py oscar_import_catalogue sites/_fixtures/books-catalogue.csv
	sites/sandbox/manage.py oscar_import_catalogue_images sites/_fixtures/books-images.tar.gz
	sites/sandbox/manage.py loaddata countries.json sites/_fixtures/pages.json sites/_fixtures/auth.json sites/_fixtures/ranges.json sites/_fixtures/offers.json
	sites/sandbox/manage.py rebuild_index --noinput

demo: install
	-rm -f sites/demo/db.sqlite
	# Create database
	sites/demo/manage.py syncdb --noinput
	sites/demo/manage.py migrate
	# Import some fixtures
	sites/demo/manage.py oscar_import_catalogue sites/_fixtures/books-catalogue.csv
	sites/demo/manage.py oscar_import_catalogue_images sites/_fixtures/books-images.tar.gz
	sites/demo/manage.py loaddata countries.json sites/_fixtures/pages.json sites/_fixtures/auth.json sites/_fixtures/ranges.json
	sites/demo/manage.py rebuild_index --noinput

docs:
	cd docs && make html

coverage:
	coverage run ./runtests.py --with-xunit
	coverage xml -i

# We probably should use upgrade instead of install here but we have a conflict
# around django versions which conflicts with tox.  Use install for now until
# upgrade can run without conflict.
ci: install lint coverage
{'fraction_non_alphanumeric': 0.08365356192728347, 'fraction_numerical': 0.0011823825007389892, 'mean_word_length': 4.475728155339806, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6279973', 'n_tokens_mistral': 1150, 'n_tokens_neox': 1057, 'n_words': 297}