<commit_before># https://pre-commit.com/
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.0
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-yaml
  # isort should run before black as black sometimes tweaks the isort output
  - repo: https://github.com/PyCQA/isort
    rev: 5.8.0
    hooks:
      - id: isort
  # https://github.com/python/black#version-control-integration
  - repo: https://github.com/psf/black
    rev: 21.5b1
    hooks:
      - id: black
  - repo: https://github.com/keewis/blackdoc
    rev: v0.3.3
    hooks:
      - id: blackdoc
  - repo: https://gitlab.com/pycqa/flake8
    rev: 3.9.2
    hooks:
      - id: flake8
  # - repo: https://github.com/Carreau/velin
  #   rev: 0.0.8
  #   hooks:
  #     - id: velin
  #       args: ["--write", "--compact"]
  - repo: https://github.com/pre-commit/mirrors-mypy
    # version must correspond to the one in .github/workflows/ci-additional.yaml
    rev: v0.812<commit_msg>pre-commit: autoupdate hook versions (#5363)<commit_after># https://pre-commit.com/
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.1
    hooks:
      - id: trailing-whitespace
      - id: end-of-file-fixer
      - id: check-yaml
  # isort should run before black as black sometimes tweaks the isort output
  - repo: https://github.com/PyCQA/isort
    rev: 5.8.0
    hooks:
      - id: isort
  # https://github.com/python/black#version-control-integration
  - repo: https://github.com/psf/black
    rev: 21.5b1
    hooks:
      - id: black
  - repo: https://github.com/keewis/blackdoc
    rev: v0.3.3
    hooks:
      - id: blackdoc
  - repo: https://gitlab.com/pycqa/flake8
    rev: 3.9.2
    hooks:
      - id: flake8
  # - repo: https://github.com/Carreau/velin
  #   rev: 0.0.8
  #   hooks:
  #     - id: velin
  #       args: ["--write", "--compact"]
  - repo: https://github.com/pre-commit/mirrors-mypy
    # version must correspond to the one in .github/workflows/ci-additional.yaml
    rev: v0.812
{'fraction_non_alphanumeric': 0.15154487493869545, 'fraction_numerical': 0.026483570377636097, 'mean_word_length': 2.1384615384615384, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, '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': '7521289', 'n_tokens_mistral': 796, 'n_tokens_neox': 779, 'n_words': 157}