blob: 756efcacc3567cf79301b8078389512b7d6b38c1 [file] [log] [blame]
[tool.black]
# TODO(https://fxbug.dev/332707272): Recipes run on Python 3.11 but Tricium's
# pylint version doesn't support Python 3.11 syntax.
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
# Start regex with a forward slash so that black will only ignore these files
# if they're in the root of the repo.
^/(
(
(
\.eggs
| \.git
| \.mypy_cache
| \.venv
| \.recipe_deps
)/
# recipes.py is vendored from upstream recipe engine, so we want to keep it
# identical to upstream.
| recipes.py
)
)
'''