<commit_before>[tox]
envlist=py3

[testenv]
deps =
    setuptools-scm
    pytest
setenv =
    TOXTEMPDIR={envtmpdir}
commands =
  python -m pytest {posargs:tests}<commit_msg>devicetree: add mypy-based type checking<commit_after>[tox]
envlist=py3

[testenv]
deps =
    setuptools-scm
    pytest
    mypy
setenv =
    TOXTEMPDIR={envtmpdir}
commands =
  python -m pytest {posargs:tests}
  python -m mypy --config-file={toxinidir}/tox.ini --package=devicetree

[mypy]
mypy_path=src
ignore_missing_imports=True

{'fraction_non_alphanumeric': 0.11045364891518737, 'fraction_numerical': 0.0039447731755424065, 'mean_word_length': 4.347368421052631, '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': '5434455', 'n_tokens_mistral': 212, 'n_tokens_neox': 208, 'n_words': 38}