Fokko commented on code in PR #5727:
URL: https://github.com/apache/iceberg/pull/5727#discussion_r976838658


##########
python/.pre-commit-config.yaml:
##########
@@ -63,3 +63,11 @@ repos:
       - id: flake8
         args: [ "--ignore=E501,W503,E203" ]
         additional_dependencies: [ flake8-bugbear==22.7.1, 
flake8-comprehensions==3.10.0 ]
+  - repo: https://github.com/executablebooks/mdformat
+    rev: 0.7.16
+    hooks:
+      - id: mdformat
+        additional_dependencies:
+          - mdformat-black
+          - mdformat-config
+          - mdformat-beautysh

Review Comment:
   This is my personal favorite. This will actually detect shell, python, and 
config blocks in the code, and format it automatically. This way the code, 
script, and config will be nicely formatted 👍🏻 If it isn't formatted properly, 
it will fail the CI.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to