This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 38c701c803 Update breeze mypy check documentation (#24609)
38c701c803 is described below
commit 38c701c803bd6062ff596cf236aff35624ccadf2
Author: Igor Tavares <[email protected]>
AuthorDate: Wed Jun 22 16:28:27 2022 -0300
Update breeze mypy check documentation (#24609)
---
BREEZE.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/BREEZE.rst b/BREEZE.rst
index 83d9ab0053..7ce48270d0 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -1019,7 +1019,7 @@ you have auto-complete setup you should see
auto-completable list of all checks
.. code-block:: bash
- breeze static-checks -t mypy
+ breeze static-checks -t run-mypy
The above will run mypy check for currently staged files.
@@ -1027,7 +1027,7 @@ You can also pass specific pre-commit flags for example
``--all-files`` :
.. code-block:: bash
- breeze static-checks -t mypy --all-files
+ breeze static-checks -t run-mypy --all-files
The above will run mypy check for all files.
@@ -1035,7 +1035,7 @@ There is a convenience ``--last-commit`` flag that you
can use to run static che
.. code-block:: bash
- breeze static-checks -t mypy --last-commit
+ breeze static-checks -t run-mypy --last-commit
The above will run mypy check for all files in the last commit.
@@ -1043,7 +1043,7 @@ There is another convenience ``--commit-ref`` flag that
you can use to run stati
.. code-block:: bash
- breeze static-checks -t mypy --commit-ref
639483d998ecac64d0fef7c5aa4634414065f690
+ breeze static-checks -t run-mypy --commit-ref
639483d998ecac64d0fef7c5aa4634414065f690
The above will run mypy check for all files in the
639483d998ecac64d0fef7c5aa4634414065f690 commit.
Any ``commit-ish`` reference from Git will work here (branch, tag, short/long
hash etc.)