potiuk commented on code in PR #29080:
URL: https://github.com/apache/airflow/pull/29080#discussion_r1083960155
##########
.pre-commit-config.yaml:
##########
@@ -146,6 +146,13 @@ repos:
- --fuzzy-match-generates-todo
files: >
\.cfg$|\.conf$|\.ini$|\.ldif$|\.properties$|\.readthedocs$|\.service$|\.tf$|Dockerfile.*$
+ - repo: https://github.com/psf/black
+ rev: 22.12.0
+ hooks:
+ - id: black
+ name: Run black (python formatter)
+ args: [--config=./pyproject.toml]
Review Comment:
Yeah we could remove, but also I think having it explicit here might make it
easier for anyone in the future looking where the configuration is. There are
couple of ways it can be specified and `./pyproject.toml` configuration is not
yet as popular as it should be so that gives a hint that wa are using it.
--
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]