<commit_before>repos:

# Automatic source code formatting
- repo: https://github.com/psf/black
  rev: 20.8b1
  hooks:
  - id: black
    args: [--safe, --quiet]

# Syntax check and some basic flake8
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v2.0.0
  hooks:
  - id: check-ast
  - id: check-yaml
  - id: flake8
    args: ['--max-line-length=88', '--select=W291,W292,W293,F401']<commit_msg>Add more stringent flake8 checks<commit_after>repos:

# Automatic source code formatting
- repo: https://github.com/psf/black
  rev: 20.8b1
  hooks:
  - id: black
    args: [--safe, --quiet]

# Syntax check and flake8 checks
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v2.0.0
  hooks:
  - id: check-ast
  - id: check-yaml
  - id: flake8
    args: ['--max-line-length=88', '--select=E401,E711,E712,E713,E714,E721,E722,E901,F401,F402,F403,F405,F631,F632,F633,F811,F812,F821,F822,F841,F901,W191,W291,W292,W293,W602,W603,W604,W605,W606']
{'fraction_non_alphanumeric': 0.17136886102403343, 'fraction_numerical': 0.13061650992685475, 'mean_word_length': 3.605769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3791460', 'n_tokens_mistral': 487, 'n_tokens_neox': 414, 'n_words': 72}