You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/18 12:16:00 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #20848: Static check in Breeze2

potiuk commented on a change in pull request #20848:
URL: https://github.com/apache/airflow/pull/20848#discussion_r786693572



##########
File path: dev/breeze/src/airflow_breeze/breeze.py
##########
@@ -276,6 +276,13 @@ def change_config(python, backend, cheatsheet, asciiart):
         console.print(f'[blue]Backend cached_value {backend}')
 
 
+@option_verbose
+@main.command(name="static-check")
+@click.option('-t', '--type', type=click.Choice(PRE_COMMIT_LIST))
+def static_check(verbose: bool):
+    pass

Review comment:
       To implement here:
   
   * Checking if pre-commit is installed (and provide helpful instructions if not)
   * Run `pre-commit` with passing all remaining parameters




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org