This is an automated email from the ASF dual-hosted git repository.
joshfell 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 2d17af1d91 Update black linter example in `STATIC_CODE_CHECKS.rst`
(#36249)
2d17af1d91 is described below
commit 2d17af1d915ba8b30109f2938102fc12276e2007
Author: Shahar Epstein <[email protected]>
AuthorDate: Sat Dec 16 17:33:05 2023 +0200
Update black linter example in `STATIC_CODE_CHECKS.rst` (#36249)
* Remove `black` linter example in `STATIC_CODE_CHECKS.rst`
* Revert "Remove `black` linter example in `STATIC_CODE_CHECKS.rst`"
This reverts commit bd35364dfd48796da31119698c78095e95ed4176.
* Update black linter example in `STATIC_CODE_CHECKS`.rst
* Update STATIC_CODE_CHECKS.rst
Co-authored-by: Josh Fell <[email protected]>
* Update STATIC_CODE_CHECKS.rst
Co-authored-by: Josh Fell <[email protected]>
---------
Co-authored-by: Josh Fell <[email protected]>
---
STATIC_CODE_CHECKS.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/STATIC_CODE_CHECKS.rst b/STATIC_CODE_CHECKS.rst
index 1bed2e8421..f16d119f6e 100644
--- a/STATIC_CODE_CHECKS.rst
+++ b/STATIC_CODE_CHECKS.rst
@@ -465,18 +465,18 @@ Run the ``ruff`` check for the ``tests/core.py`` file
with verbose output:
breeze static-checks --type ruff --file tests/core.py --verbose
-Run the ``ruff for the ``tests.core`` package with verbose output:
+Run the ``ruff`` check for the ``tests.core`` package with verbose output:
.. code-block:: bash
breeze static-checks --type ruff --file tests/core/* --verbose
-Run the ``black`` check for the files
``airflow/example_dags/example_bash_operator.py`` and
+Run the ``ruff-format`` check for the files
``airflow/example_dags/example_bash_operator.py`` and
``airflow/example_dags/example_python_operator.py``:
.. code-block:: bash
- breeze static-checks --type black --file
airflow/example_dags/example_bash_operator.py \
+ breeze static-checks --type ruff-format --file
airflow/example_dags/example_bash_operator.py \
airflow/example_dags/example_python_operator.py
Run all checks for the currently staged files: