<commit_before>.PHONY: lint test

all:
	@echo "Please choose a task."

lint:
	composer validate
	find . -name '*.yml' -not -path './vendor/*' -not -path './src/Resources/public/vendor/*' | xargs yaml-lint
	find . \( -name '*.xml' -or -name '*.xlf' \) \
		-not -path './vendor/*' -not -path './src/Resources/public/vendor/*' \
        | xargs -I'{}' xmllint --encode UTF-8 --output '{}' --format '{}'<commit_msg>Ignore vendor-bin when calling lint<commit_after>.PHONY: lint test

all:
	@echo "Please choose a task."

lint:
	composer validate
	find . -name '*.yml' -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './src/Resources/public/vendor/*' | xargs yaml-lint
	find . \( -name '*.xml' -or -name '*.xlf' \) \
		-not -path './vendor/*' -not -path './vendor-bin/*' -not -path './src/Resources/public/vendor/*' \
        | xargs -I'{}' xmllint --encode UTF-8 --output '{}' --format '{}'
{'fraction_non_alphanumeric': 0.23444444444444446, 'fraction_numerical': 0.0022222222222222222, 'mean_word_length': 2.492248062015504, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2661898', 'n_tokens_mistral': 342, 'n_tokens_neox': 333, 'n_words': 94}