<commit_before>name: CI
on:
  push:
    branches:
      - master
  pull_request:

jobs:

  bandit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install bandit==1.6.2
      - run: bandit -r .

  isort:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install isort
      - run: isort --check-only --diff --recursive .

  flake8:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install flake8
      - run: flake8 .

  pydocstyle:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install pydocstyle
      - run: pydocstyle .

  black:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install black
      - run: black --check --diff .

  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - run: sudo apt-get install -y graphviz
      - uses: actions/checkout@v2
      - run: git fetch --prune --unshallow
      - run: python setup.py develop
      - run: python setup.py build_sphinx -W

  dist:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - run: python -m pip install --upgrade pip setuptools wheel twine readme-renderer
      - uses: actions/checkout@v2
      - run: python setup.py sdist bdist_wheel
      - run: python -m twine check dist/*

  pytest:
    needs:
      - bandit
      - black
      - flake8
      - isort
      - pydocstyle
    strategy:
      matrix:
        os:
          - ubuntu-latest
          - windows-latest
          - macos-latest<commit_msg>Fix docs build<commit_after>name: CI
on:
  push:
    branches:
      - master
  pull_request:

jobs:

  bandit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install bandit==1.6.2
      - run: bandit -r .

  isort:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install isort
      - run: isort --check-only --diff --recursive .

  flake8:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install flake8
      - run: flake8 .

  pydocstyle:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install pydocstyle
      - run: pydocstyle .

  black:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - uses: actions/checkout@v2
      - run: python -m pip install black
      - run: black --check --diff .

  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - run: sudo apt-get install -y graphviz
      - uses: actions/checkout@v2
      - run: git fetch --prune --unshallow
      - run: python -m pip install pip setuptools wheel
      - run: python setup.py develop
      - run: python setup.py build_sphinx -W

  dist:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/setup-python@v1
      - run: python -m pip install --upgrade pip setuptools wheel twine readme-renderer
      - uses: actions/checkout@v2
      - run: python setup.py sdist bdist_wheel
      - run: python -m twine check dist/*

  pytest:
    needs:
      - bandit
      - black
      - flake8
      - isort
      - pydocstyle
    strategy:
      matrix:
        os:
          - ubuntu-latest
          - windows-latest
          - macos-latest
{'fraction_non_alphanumeric': 0.1055512118842846, 'fraction_numerical': 0.0109460516028147, 'mean_word_length': 1.7414285714285713, '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': '4788799', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1301, 'n_words': 339}