[tool.black]
target-version = ["py38"]
# TODO: Use extend-exclude as soon as Debian Bookworm is released.
exclude = '''
    ^/src/rest/
    | ^/config/
    | ^/python/
    | ^/.tox/
'''

[tool.isort]
py_version = 38
profile = "black"
# TODO: switch to "extend_skip", after Debian Bookworm is released
skip = [
    "config",
    "node_modules",
    "python",
    "src/rest/",
    ".git",
    ".tox",
]