<commit_before>#######################################
# This file is part of pyCMBS
#######################################

# XXX: machine specific paths
PEP = /home/m300028/shared/dev/svn/pep8/pep8/pep8.py
TDIR = /home/m300028/shared/temp/nixxxx
VERSION = 0.1.5

clean :
	find . -name "*.pyc" -exec rm -rf {} \;
	find . -name "data_warnings.log" -exec rm -rf {} \;
	rm -rf build
	rm -rf MANIFEST
	rm -rf cover

ship : dist
	rm -rf $(TDIR)/*
	cp ./dist/pyCMBS-$(VERSION).tar.gz $(TDIR)
	tar -C $(TDIR) -xvf $(TDIR)/pyCMBS-$(VERSION).tar.gz

coverage: 
	nosetests --with-coverage --cover-package=benchmarking --cover-package=pycmbs pycmbs/benchmarking/tests pycmbs/tests --cover-html

dist : clean
	python setup.py sdist

pep8 :
	$(PEP) ./pyCMBS/mapping.py
	#$(PEP) ./pyCMBS/netcdf.py
	#$(PEP) ./pyCMBS/icon.py
	#$(PEP) ./pyCMBS/grid.py
	#$(PEP) ./pyCMBS/report.py
	#$(PEP) ./pyCMBS/statistic.py
	#$(PEP) ./pyCMBS/region.py
	#$(PEP) ./pyCMBS/framework/__init__.py
	#$(PEP) ./pyCMBS/framework/utils.py
	#$(PEP) ./pyCMBS/diagnostic.py
	#$(PEP) ./pyCMBS/framework/config.py
	#$(PEP) ./pyCMBS/framework/pycmbs.py
	#$(PEP) ./pyCMBS/framework/models.py
	#$(PEP) ./pyCMBS/data.py
	#data.py models.py analysis.py pycmbs.py

<commit_msg>[Makefile] adapted makefile. Remove hardcoded filenames and modified pep8<commit_after>#######################################
# This file is part of pyCMBS
#######################################

# XXX: machine specific paths
# pep8, ignoring some errors like e.g. indention errors or linelength error
PEP = pep8 --ignore=E501,E128,E111,E127,E124,E121
TDIR = /tmp
VERSION = 0.1.6

clean :
	find . -name "*.pyc" -exec rm -rf {} \;
	find . -name "data_warnings.log" -exec rm -rf {} \;
	rm -rf build
	rm -rf MANIFEST
	rm -rf cover

ship : dist
	rm -rf $(TDIR)/*
	cp ./dist/pyCMBS-$(VERSION).tar.gz $(TDIR)
	tar -C $(TDIR) -xvf $(TDIR)/pyCMBS-$(VERSION).tar.gz

coverage:
	nosetests --with-coverage --cover-package=benchmarking --cover-package=pycmbs pycmbs/benchmarking/tests pycmbs/tests --cover-html

dist : clean
	python setup.py sdist

pep8 :
	$(PEP) *.py
	$(PEP) ./pycmbs/*.py



{'fraction_non_alphanumeric': 0.23958333333333334, 'fraction_numerical': 0.020833333333333332, 'mean_word_length': 3.603485838779956, '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': '2285292', 'n_tokens_mistral': 918, 'n_tokens_neox': 853, 'n_words': 188}