[tool.black] line-length = 88 target-version = ['py38'] include = '\.pyi?$' exclude = ''' ( /( \.eggs # exclude a few common directories in the | \.git # root of the project | \.hg | \.mypy_cache | \.tox | \.venv | _build | buck-out | build | dist )/ | foo.py # also separately exclude a file named foo.py in # the root of the project ) ''' [tool.mypy] python_version = "3.8" warn_return_any = true warn_unused_configs = true # mypy per-module options: [[tool.mypy.overrides]] ignore_missing_imports = true