This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 87a1b8e039078f97258467660b85fb532619b1a5 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]> (cherry picked from commit 2d17af1d915ba8b30109f2938102fc12276e2007) --- contributing-docs/08_static_code_checks.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contributing-docs/08_static_code_checks.rst b/contributing-docs/08_static_code_checks.rst index d8e65563f5..c1917ba033 100644 --- a/contributing-docs/08_static_code_checks.rst +++ b/contributing-docs/08_static_code_checks.rst @@ -507,18 +507,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:
