You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by zh...@apache.org on 2021/01/01 09:48:48 UTC
[airflow] branch master updated: Add last-commit example to
static-check --help message. (#13411)
This is an automated email from the ASF dual-hosted git repository.
zhongjiajie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 43f150b Add last-commit example to static-check --help message. (#13411)
43f150b is described below
commit 43f150b7f8a843b9780d1d6388434f4654685480
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Fri Jan 1 10:48:38 2021 +0100
Add last-commit example to static-check --help message. (#13411)
---
BREEZE.rst | 5 +++++
breeze | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/BREEZE.rst b/BREEZE.rst
index d302721..7e3a07f 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -2180,6 +2180,11 @@ This is the current syntax for `./breeze <./breeze>`_:
'breeze static-check all -- --from-ref $(git merge-base master HEAD) --to-ref HEAD'
+ To check all files that are in the HEAD commit run:
+
+ 'breeze static-check mypy -- --from-ref HEAD^ --to-ref HEAD'
+
+
You can see all the options by adding --help EXTRA_ARG:
'breeze static-check mypy -- --help'
diff --git a/breeze b/breeze
index 8dff69d..06c38c5 100755
--- a/breeze
+++ b/breeze
@@ -1908,6 +1908,11 @@ ${FORMATTED_STATIC_CHECKS}
'${CMDNAME} static-check all -- --from-ref \$(git merge-base master HEAD) --to-ref HEAD'
+ To check all files that are in the HEAD commit run:
+
+ '${CMDNAME} static-check mypy -- --from-ref HEAD^ --to-ref HEAD'
+
+
You can see all the options by adding --help EXTRA_ARG:
'${CMDNAME} static-check mypy -- --help'