[tool.black]
target-version = ["py35", "py36", "py37", "py38"]
extend-exclude = '(protobuf/(__init__|.*_pb2).py)|__pycache__'
include = '(pyatv|tests|examples|scripts).*\.py'

[tool.isort]
skip_glob = "pyatv/protocols/mrp/protobuf/*.py"
profile = "black"
force_sort_within_sections = true
known_first_party = [
    "pyatv",
    "tests",
    "scripts",
]
forced_separate = [
    "tests",
    "scripts",
]

[[tool.mypy.overrides]]
module = [
    "miniaudio",
    "audio_metadata",
    "netifaces",
    "srptools",
    "bitarray",
]
ignore_missing_imports = true
