xref: /aosp_15_r20/external/yapf/.pre-commit-hooks.yml (revision 7249d1a64f4850ccf838e62a46276f891f72998e)
1# File configures YAPF to be used as a git hook with https://github.com/pre-commit/pre-commit
2
3- id: yapf
4  name: yapf
5  description: "A formatter for Python files."
6  entry: yapf
7  args: [-i] #inplace
8  language: python
9  types: [python]
10