<commit_before>name: Checks
on: [push, pull_request]

jobs:
  checks:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        include:
        - python-version: 3.9
          env:
            TOXENV: security
        - python-version: 3.9
          env:
            TOXENV: flake8
        - python-version: 3.9
          env:
            TOXENV: pylint
        - python-version: 3.8  # Keep in sync with .readthedocs.yml
          env:
            TOXENV: docs
        - python-version: 3.9
          env:
            TOXENV: typing
        - python-version: 3.9
          env:
            TOXENV: black

    steps:
    - uses: actions/checkout@v2

    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}

    - name: Run check
      env: ${{ matrix.env }}
      run: |
        pip install -U tox
        tox
<commit_msg>Updated checks.yml to support python 3.10<commit_after>name: Checks
on: [push, pull_request]

jobs:
  checks:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        include:
        - python-version: "3.10"
          env:
            TOXENV: security
        - python-version: "3.10"
          env:
            TOXENV: flake8
        - python-version: "3.10"
          env:
            TOXENV: pylint
        - python-version: "3.8"  # Keep in sync with .readthedocs.yml
          env:
            TOXENV: docs
        - python-version: "3.10"
          env:
            TOXENV: typing
        - python-version: "3.10"
          env:
            TOXENV: black

    steps:
    - uses: actions/checkout@v2

    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}

    - name: Run check
      env: ${{ matrix.env }}
      run: |
        pip install -U tox
        tox

{'fraction_non_alphanumeric': 0.10683102208525937, 'fraction_numerical': 0.019517205957883924, 'mean_word_length': 1.3814180929095354, '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': '2823606', 'n_tokens_mistral': 650, 'n_tokens_neox': 609, 'n_words': 151}