Setup python-black for opinionated linting
[integration/test.git] / .pre-commit-config.yaml
index efc1f7cfe5396e5ca718545254cdb660c521300c..bb176e9e9d8752e1b409b7a1ed56205219efdc74 100644 (file)
@@ -11,6 +11,11 @@ repos:
         # so to prevent this conflict we will ignore .robot files in this trailing-whitespace hook
         exclude: '\.robot'
 
+  - repo: https://github.com/ambv/black
+    rev: stable
+    hooks:
+      - id: black
+
   - repo: https://github.com/guykisel/pre-commit-robotframework-tidy
     rev: master
     hooks: