potiuk commented on pull request #20409:
URL: https://github.com/apache/airflow/pull/20409#issuecomment-1000415080


   > Ah, didnt know that (looked up for something like that but didn't find..) 
thank for that!
   
   You are most welcome. Pre-commit has a number of useful things built in - 
for example you can easily run pre-commit on the last commit only:
   
   ```
   pre-commit run --from-ref=HEAD^ --to-ref=HEAD
   ```
   
   Also see here: 
https://github.com/apache/airflow/blob/main/STATIC_CODE_CHECKS.rst#id1 "using 
pre-commit" for some other stuff.


-- 
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]


Reply via email to