[tool.black] target-version = ['py38'] include = '\.pyi?$' exclude = ''' ( /( \.eggs # exclude a few common directories in the | \.git # root of the project | \.github | \.hg | \.mypy_cache | \.tox | \.venv | \.vscode | build | dist | stubs )/ ) '''