<commit_before>dist: xenial
language: python
python: 3.7

cache:
  pip: true

env:
  matrix:
    - LINT=vint-errors
    - LINT=vint
    - LINT=shellcheck

matrix:
  allow_failures:
    - env: LINT=vint

install:
  - |
    if [ "${LINT#vint}" != "$LINT" ]; then
      pip install vim-vint
    fi

script:
  - bin/dotr --lint<commit_msg>install the same shfmt as I run with git pre-commit hooks<commit_after>dist: xenial
language: python
python: 3.7

cache:
  pip: true

env:
  matrix:
    - LINT=vint-errors
    - LINT=vint
    - LINT=shellcheck

matrix:
  allow_failures:
    - env: LINT=vint

install:
  - |
    if [ "${LINT#vint}" != "$LINT" ]; then
      pip install vim-vint
    fi
  - |
    ./golang/install.sh

script:
  - PATH="${PWD}/tools:$PATH" ./bin/dotr --lint
{'fraction_non_alphanumeric': 0.14248704663212436, 'fraction_numerical': 0.0051813471502590676, 'mean_word_length': 2.481981981981982, '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': '3767849', 'n_tokens_mistral': 318, 'n_tokens_neox': 309, 'n_words': 71}