<commit_before>cache:
  directories:
  - $PIP_CACHE_DIR
  - $POETRY_CACHE_DIR
  - $HOME/nix.store

language: nix

env:
  global:
  - PIP_CACHE_DIR=$HOME/.cache/pip
  - POETRY_CACHE_DIR=$HOME/.cache/pypoetry/cache
  jobs:
  - PYTHON_VERSION="35"
  - PYTHON_VERSION="36"
  - PYTHON_VERSION="37"
  - PYTHON_VERSION="38"
  - PYTHON_VERSION="38" PYTEST_ADDOPTS=--elm-version=0.19.0

before_install:
- sudo mkdir -p /etc/nix
- echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null
- echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null<commit_msg>Address slowness when running poetry install<commit_after>cache:
  directories:
  - $PIP_CACHE_DIR
  - $POETRY_CACHE_DIR
  - $HOME/nix.store

language: nix

env:
  global:
  - PIP_CACHE_DIR=$HOME/.cache/pip
  - POETRY_CACHE_DIR=$HOME/.cache/pypoetry/cache
  jobs:
  - PYTHON_VERSION="35"
  - PYTHON_VERSION="36"
  - PYTHON_VERSION="37"
  - PYTHON_VERSION="38"
  - PYTHON_VERSION="38" PYTEST_ADDOPTS=--elm-version=0.19.0

before_install:
  # make sure that sites/servers that prefer ipv4 use ipv4
  # https://github.com/python-poetry/poetry/issues/2094
- echo 'precedence ::ffff:0:0/96 100' | sudo tee -a /etc/gai.conf > /dev/null
- sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
- sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
- sudo mkdir -p /etc/nix
- echo "substituters = https://cache.nixos.org/ file://$HOME/nix.store" | sudo tee -a /etc/nix/nix.conf > /dev/null
- echo 'require-sigs = false' | sudo tee -a /etc/nix/nix.conf > /dev/null
{'fraction_non_alphanumeric': 0.1556122448979592, 'fraction_numerical': 0.029974489795918366, 'mean_word_length': 3.419718309859155, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 3, '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': '1585602', 'n_tokens_mistral': 711, 'n_tokens_neox': 660, 'n_words': 111}