<commit_before>.PHONY: version lint run publish-test publish clean

lint:
				pylint aqara

test: lint
				pytest

run:
				python3 main.py

version:
				$(eval TAG := $(shell git describe --tags | sort | head -1))
				@echo $(TAG)

publish-test: test version
				VERSION=$(TAG) python setup.py sdist upload -r pypitest

publish: test
				VERSION=$(TAG) python setup.py sdist upload -r pypi<commit_msg>added target 'version' as a dependency for 'publish'<commit_after>.PHONY: version lint run publish-test publish clean

lint:
				pylint aqara

test: lint
				pytest

run:
				python3 main.py

version:
				$(eval TAG := $(shell git describe --tags | sort | head -1))
				@echo $(TAG)

publish-test: test version
				VERSION=$(TAG) python setup.py sdist upload -r pypitest

publish: test version
				VERSION=$(TAG) python setup.py sdist upload -r pypi
{'fraction_non_alphanumeric': 0.10575793184488837, 'fraction_numerical': 0.004700352526439483, 'mean_word_length': 3.3248730964467006, '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': '2901164', 'n_tokens_mistral': 323, 'n_tokens_neox': 280, 'n_words': 101}