<commit_before>[flake8]
application-import-names = pykka,tests
exclude = .git,.tox,.venv
max-line-length = 80
select =
    # Regular flake8 rules
    C, E, F, W
    # flake8-bugbear rules
    B
    # B950: line too long (soft speed limit)
    B950
    # flake8-black rules
    BLK
    # flake8-isort rules
    I
    # flake8-pyi rules
    Y0
ignore =
    # E203: whitespace before ':' (not PEP8 compliant)
    E203
    # E501: line too long (replaced by B950)
    E501
    # W503: line break before binary operator (not PEP8 compliant)
    W503
    # W504: line break after binary operator (incorrect for pyi files)
    W504
    # E301: expected 1 blank line, found 0 (incorrect for pyi files)
    E301
    # E302: expected 2 blank lines, found 0 (incorrect for pyi files)
    E302
    # E305: expected 2 blank lines after class or function definition, found 1
    # (incorrect for pyi files)
    E305
    # E701: multiple statements on one line (incorrect for pyi files)
    E701
    # E704: multiple statements on one line (incorrect for pyi files)
    E704


[mypy]
no_implicit_optional = True
warn_return_any = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_unused_configs = True
strict_equality = True

[mypy-pykka.*]
disallow_untyped_defs = True

[mypy-pytest.*]
ignore_missing_imports = True
<commit_msg>Ignore flake8-pyi recommendations that requires Python >3.7<commit_after>[flake8]
application-import-names = pykka,tests
exclude = .git,.tox,.venv
max-line-length = 80
select =
    # Regular flake8 rules
    C, E, F, W
    # flake8-bugbear rules
    B
    # B950: line too long (soft speed limit)
    B950
    # flake8-black rules
    BLK
    # flake8-isort rules
    I
    # flake8-pyi rules
    Y0
ignore =
    # E203: whitespace before ':' (not PEP8 compliant)
    E203
    # E501: line too long (replaced by B950)
    E501
    # W503: line break before binary operator (not PEP8 compliant)
    W503
    # W504: line break after binary operator (incorrect for pyi files)
    W504
    # E301: expected 1 blank line, found 0 (incorrect for pyi files)
    E301
    # E302: expected 2 blank lines, found 0 (incorrect for pyi files)
    E302
    # E305: expected 2 blank lines after class or function definition, found 1
    # (incorrect for pyi files)
    E305
    # E701: multiple statements on one line (incorrect for pyi files)
    E701
    # E704: multiple statements on one line (incorrect for pyi files)
    E704
    # Y022: Use "builtins.foo" instead of "typing.Foo" (until requiring Python 3.9)
    Y022
    # Y023: Use "typing.Protocol" instead of "typing_extensions.Protocol" (until requiring Python 3.8)
    Y023
    # Y026: Use typing_extensions.TypeAlias for type aliases (until requiring Python 3.10)
    Y026


[mypy]
no_implicit_optional = True
warn_return_any = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_unused_configs = True
strict_equality = True

[mypy-pykka.*]
disallow_untyped_defs = True

[mypy-pytest.*]
ignore_missing_imports = True

{'fraction_non_alphanumeric': 0.07610501827849785, 'fraction_numerical': 0.062479228979727484, 'mean_word_length': 3.1176470588235294, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '439127', 'n_tokens_mistral': 1169, 'n_tokens_neox': 1035, 'n_words': 347}