See https://pre-commit.com/ for documentation on how to use
this file.
SQLAlchemy and related projects make use of Black and zimports
for code formatting, this hook allows for automated pre-commit
runs.
Change-Id: I4bbb49747e9f7fb52251dc61ecda98361cd036fd
(cherry picked from commit
69ebf2cc365baf82016c9d1672fe89e39594b523)
--- /dev/null
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+repos:
+- repo: https://github.com/python/black/
+ rev: 19.3b0
+ hooks:
+ - id: black
+ args: [-l 79]
+
+- repo: https://github.com/sqlalchemyorg/zimports/
+ rev: master
+ hooks:
+ - id: zimports
+
+