<commit_before>#!/bin/sh
astyle \
    --style=linux		\
    --indent=force-tab=8	\
    --indent-cases		\
    --indent-preprocessor	\
    --break-blocks=all		\
    --pad-oper			\
    --pad-header		\
    --unpad-paren		\
    --keep-one-line-blocks	\
    --keep-one-line-statements	\
    --align-pointer=name	\
    --align-reference=name	\
    --suffix=none		\
    --ignore-exclude-errors-x	\
    --lineend=linux		\
    --exclude=EASTL		\
    --add-brackets \
    $*
<commit_msg>fix code style script: enforce max line width of 120 chars<commit_after>#!/bin/sh
astyle \
    --style=linux		\
    --indent=force-tab=8	\
    --indent-cases		\
    --indent-preprocessor	\
    --break-blocks=all		\
    --pad-oper			\
    --pad-header		\
    --unpad-paren		\
    --keep-one-line-blocks	\
    --keep-one-line-statements	\
    --align-pointer=name	\
    --align-reference=name	\
    --suffix=none		\
    --ignore-exclude-errors-x	\
    --lineend=linux		\
    --exclude=EASTL		\
    --add-brackets		\
    --max-code-length=120	\
    $*

{'fraction_non_alphanumeric': 0.1806640625, 'fraction_numerical': 0.0078125, 'mean_word_length': 1.5061124694376529, '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': '885104', 'n_tokens_mistral': 434, 'n_tokens_neox': 415, 'n_words': 49}