This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v2-3-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 01eae0e0f0e0b11a8358c26f0769e44d44804c2b Author: Jarek Potiuk <[email protected]> AuthorDate: Tue Jun 21 15:59:43 2022 +0200 Added instructions on what to do if your command images are regenerated (#24581) In case there are conflicting changes to breeze command in several PRs, you might get conflicting images printed. in such case you should run `breeze regenerate-command-images` (cherry picked from commit 864cbc9cd843db94ca8bab2187b50de714fdb070) --- .pre-commit-config.yaml | 2 +- STATIC_CODE_CHECKS.rst | 6 +- .../configuration_and_maintenance_commands.py | 9 +- dev/breeze/src/airflow_breeze/pre_commit_ids.py | 4 +- images/breeze/output-commands-hash.txt | 6 +- images/breeze/output-static-checks.svg | 224 ++++++++++----------- .../ci/pre_commit/pre_commit_breeze_cmd_line.py | 16 +- 7 files changed, 140 insertions(+), 127 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 15d18dd1b0..99db085714 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -341,7 +341,7 @@ repos: pass_filenames: true files: ^airflow/providers/.*\.py$ additional_dependencies: ['rich>=12.4.4'] - - id: update-breeze-file + - id: update-breeze-cmd-output name: Update output of breeze commands in BREEZE.rst entry: ./scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py language: python diff --git a/STATIC_CODE_CHECKS.rst b/STATIC_CODE_CHECKS.rst index 5b7fa05908..00d533250b 100644 --- a/STATIC_CODE_CHECKS.rst +++ b/STATIC_CODE_CHECKS.rst @@ -205,14 +205,10 @@ require Breeze Docker image to be build locally. +--------------------------------------------------------+------------------------------------------------------------------+---------+ | check-system-tests-present | Check if system tests have required segments of code | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ -| check-system-tests-tocs | Check that system tests is properly added | | -+--------------------------------------------------------+------------------------------------------------------------------+---------+ | check-xml | Check XML files with xmllint | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ | codespell | Run codespell to check for common misspellings in files | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ -| create-missing-init-py-files-tests | Create missing init.py files in tests | | -+--------------------------------------------------------+------------------------------------------------------------------+---------+ | debug-statements | Detect accidentally committed debug statements | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ | detect-private-key | Detect if private key is added to the repository | | @@ -290,7 +286,7 @@ require Breeze Docker image to be build locally. +--------------------------------------------------------+------------------------------------------------------------------+---------+ | trailing-whitespace | Remove trailing whitespace at end of line | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ -| update-breeze-file | Update output of breeze commands in BREEZE.rst | | +| update-breeze-cmd-output | Update output of breeze commands in BREEZE.rst | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ | update-breeze-readme-config-hash | Update Breeze README.md with config files hash | | +--------------------------------------------------------+------------------------------------------------------------------+---------+ diff --git a/dev/breeze/src/airflow_breeze/commands/configuration_and_maintenance_commands.py b/dev/breeze/src/airflow_breeze/commands/configuration_and_maintenance_commands.py index 116319a2ef..490a43c5f5 100644 --- a/dev/breeze/src/airflow_breeze/commands/configuration_and_maintenance_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/configuration_and_maintenance_commands.py @@ -547,7 +547,14 @@ def regenerate_command_images(verbose: bool, dry_run: bool): except FileNotFoundError: # when we go to Python 3.8+ we can add missing_ok = True instead of try/except pass - command_to_execute = [sys.executable, "-m", "pre_commit", 'run', 'update-breeze-file', '--all-files'] + command_to_execute = [ + sys.executable, + "-m", + "pre_commit", + 'run', + 'update-breeze-cmd-output', + '--all-files', + ] env = os.environ.copy() run_command( command_to_execute, diff --git a/dev/breeze/src/airflow_breeze/pre_commit_ids.py b/dev/breeze/src/airflow_breeze/pre_commit_ids.py index 2f8366b01f..bcddfa0ec9 100644 --- a/dev/breeze/src/airflow_breeze/pre_commit_ids.py +++ b/dev/breeze/src/airflow_breeze/pre_commit_ids.py @@ -59,10 +59,8 @@ PRE_COMMIT_LIST = [ 'check-setup-order', 'check-start-date-not-used-in-defaults', 'check-system-tests-present', - 'check-system-tests-tocs', 'check-xml', 'codespell', - 'create-missing-init-py-files-tests', 'debug-statements', 'detect-private-key', 'doctoc', @@ -92,7 +90,7 @@ PRE_COMMIT_LIST = [ 'run-shellcheck', 'static-check-autoflake', 'trailing-whitespace', - 'update-breeze-file', + 'update-breeze-cmd-output', 'update-breeze-readme-config-hash', 'update-extras', 'update-in-the-wild-to-be-sorted', diff --git a/images/breeze/output-commands-hash.txt b/images/breeze/output-commands-hash.txt index 58b9c9981f..d27f8a1a7e 100644 --- a/images/breeze/output-commands-hash.txt +++ b/images/breeze/output-commands-hash.txt @@ -1 +1,5 @@ -a5442e2ce4b79e862afacff8e79e43bd + +# This file is automatically generated by pre-commit. If you have a conflict with this file +# Please do not solve it but run `breeze regenerate-command-images`. +# This command should fix the conflict and regenerate help images that you have conflict with. +09687e7e07a9c1d62fa6c34201532113 diff --git a/images/breeze/output-static-checks.svg b/images/breeze/output-static-checks.svg index 1e8d54ca8e..5bd4b35dab 100644 --- a/images/breeze/output-static-checks.svg +++ b/images/breeze/output-static-checks.svg @@ -1,4 +1,4 @@ -<svg class="rich-terminal" viewBox="0 0 1482 1245.6" xmlns="http://www.w3.org/2000/svg"> +<svg class="rich-terminal" viewBox="0 0 1482 1221.1999999999998" xmlns="http://www.w3.org/2000/svg"> <!-- Generated with Rich https://www.textualize.io --> <style> @@ -19,237 +19,233 @@ font-weight: 700; } - .terminal-1202620514-matrix { + .terminal-373974906-matrix { font-family: Fira Code, monospace; font-size: 20px; line-height: 24.4px; font-variant-east-asian: full-width; } - .terminal-1202620514-title { + .terminal-373974906-title { font-size: 18px; font-weight: bold; font-family: arial; } - .terminal-1202620514-r1 { fill: #c5c8c6;font-weight: bold } -.terminal-1202620514-r2 { fill: #c5c8c6 } -.terminal-1202620514-r3 { fill: #d0b344;font-weight: bold } -.terminal-1202620514-r4 { fill: #868887 } -.terminal-1202620514-r5 { fill: #68a0b3;font-weight: bold } -.terminal-1202620514-r6 { fill: #98a84b;font-weight: bold } -.terminal-1202620514-r7 { fill: #8d7b39 } + .terminal-373974906-r1 { fill: #c5c8c6;font-weight: bold } +.terminal-373974906-r2 { fill: #c5c8c6 } +.terminal-373974906-r3 { fill: #d0b344;font-weight: bold } +.terminal-373974906-r4 { fill: #868887 } +.terminal-373974906-r5 { fill: #68a0b3;font-weight: bold } +.terminal-373974906-r6 { fill: #98a84b;font-weight: bold } +.terminal-373974906-r7 { fill: #8d7b39 } </style> <defs> - <clipPath id="terminal-1202620514-clip-terminal"> - <rect x="0" y="0" width="1463.0" height="1194.6" /> + <clipPath id="terminal-373974906-clip-terminal"> + <rect x="0" y="0" width="1463.0" height="1170.1999999999998" /> </clipPath> - <clipPath id="terminal-1202620514-line-0"> + <clipPath id="terminal-373974906-line-0"> <rect x="0" y="1.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-1"> +<clipPath id="terminal-373974906-line-1"> <rect x="0" y="25.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-2"> +<clipPath id="terminal-373974906-line-2"> <rect x="0" y="50.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-3"> +<clipPath id="terminal-373974906-line-3"> <rect x="0" y="74.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-4"> +<clipPath id="terminal-373974906-line-4"> <rect x="0" y="99.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-5"> +<clipPath id="terminal-373974906-line-5"> <rect x="0" y="123.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-6"> +<clipPath id="terminal-373974906-line-6"> <rect x="0" y="147.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-7"> +<clipPath id="terminal-373974906-line-7"> <rect x="0" y="172.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-8"> +<clipPath id="terminal-373974906-line-8"> <rect x="0" y="196.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-9"> +<clipPath id="terminal-373974906-line-9"> <rect x="0" y="221.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-10"> +<clipPath id="terminal-373974906-line-10"> <rect x="0" y="245.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-11"> +<clipPath id="terminal-373974906-line-11"> <rect x="0" y="269.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-12"> +<clipPath id="terminal-373974906-line-12"> <rect x="0" y="294.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-13"> +<clipPath id="terminal-373974906-line-13"> <rect x="0" y="318.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-14"> +<clipPath id="terminal-373974906-line-14"> <rect x="0" y="343.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-15"> +<clipPath id="terminal-373974906-line-15"> <rect x="0" y="367.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-16"> +<clipPath id="terminal-373974906-line-16"> <rect x="0" y="391.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-17"> +<clipPath id="terminal-373974906-line-17"> <rect x="0" y="416.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-18"> +<clipPath id="terminal-373974906-line-18"> <rect x="0" y="440.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-19"> +<clipPath id="terminal-373974906-line-19"> <rect x="0" y="465.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-20"> +<clipPath id="terminal-373974906-line-20"> <rect x="0" y="489.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-21"> +<clipPath id="terminal-373974906-line-21"> <rect x="0" y="513.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-22"> +<clipPath id="terminal-373974906-line-22"> <rect x="0" y="538.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-23"> +<clipPath id="terminal-373974906-line-23"> <rect x="0" y="562.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-24"> +<clipPath id="terminal-373974906-line-24"> <rect x="0" y="587.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-25"> +<clipPath id="terminal-373974906-line-25"> <rect x="0" y="611.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-26"> +<clipPath id="terminal-373974906-line-26"> <rect x="0" y="635.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-27"> +<clipPath id="terminal-373974906-line-27"> <rect x="0" y="660.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-28"> +<clipPath id="terminal-373974906-line-28"> <rect x="0" y="684.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-29"> +<clipPath id="terminal-373974906-line-29"> <rect x="0" y="709.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-30"> +<clipPath id="terminal-373974906-line-30"> <rect x="0" y="733.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-31"> +<clipPath id="terminal-373974906-line-31"> <rect x="0" y="757.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-32"> +<clipPath id="terminal-373974906-line-32"> <rect x="0" y="782.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-33"> +<clipPath id="terminal-373974906-line-33"> <rect x="0" y="806.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-34"> +<clipPath id="terminal-373974906-line-34"> <rect x="0" y="831.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-35"> +<clipPath id="terminal-373974906-line-35"> <rect x="0" y="855.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-36"> +<clipPath id="terminal-373974906-line-36"> <rect x="0" y="879.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-37"> +<clipPath id="terminal-373974906-line-37"> <rect x="0" y="904.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-38"> +<clipPath id="terminal-373974906-line-38"> <rect x="0" y="928.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-39"> +<clipPath id="terminal-373974906-line-39"> <rect x="0" y="953.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-40"> +<clipPath id="terminal-373974906-line-40"> <rect x="0" y="977.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-41"> +<clipPath id="terminal-373974906-line-41"> <rect x="0" y="1001.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-42"> +<clipPath id="terminal-373974906-line-42"> <rect x="0" y="1026.3" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-43"> +<clipPath id="terminal-373974906-line-43"> <rect x="0" y="1050.7" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-44"> +<clipPath id="terminal-373974906-line-44"> <rect x="0" y="1075.1" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-45"> +<clipPath id="terminal-373974906-line-45"> <rect x="0" y="1099.5" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-46"> +<clipPath id="terminal-373974906-line-46"> <rect x="0" y="1123.9" width="1464" height="24.65"/> </clipPath> -<clipPath id="terminal-1202620514-line-47"> - <rect x="0" y="1148.3" width="1464" height="24.65"/> - </clipPath> </defs> - <rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="1480" height="1243.6" rx="8"/><text class="terminal-1202620514-title" fill="#c5c8c6" text-anchor="middle" x="740" y="27">Command: static-checks</text> + <rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="1480" height="1219.2" rx="8"/><text class="terminal-373974906-title" fill="#c5c8c6" text-anchor="middle" x="740" y="27">Command: static-checks</text> <g transform="translate(26,22)"> <circle cx="0" cy="0" r="7" fill="#ff5f57"/> <circle cx="22" cy="0" r="7" fill="#febc2e"/> <circle cx="44" cy="0" r="7" fill="#28c840"/> </g> - <g transform="translate(9, 41)" clip-path="url(#terminal-1202620514-clip-terminal)"> + <g transform="translate(9, 41)" clip-path="url(#terminal-373974906-clip-terminal)"> - <g class="terminal-1202620514-matrix"> - <text class="terminal-1202620514-r2" x="1464" y="20" textLength="12.2" clip-path="url(#terminal-1202620514-line-0)"> -</text><text class="terminal-1202620514-r3" x="12.2" y="44.4" textLength="85.4" clip-path="url(#terminal-1202620514-line-1)">Usage: </text><text class="terminal-1202620514-r1" x="97.6" y="44.4" textLength="610" clip-path="url(#terminal-1202620514-line-1)">breeze static-checks [OPTIONS] [PRECOMMIT_ARGS]...</text><text class="terminal-1202620514-r2" x="1464" y="44.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-1)"> -</text><text class="terminal-1202620514-r2" x="1464" y="68.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-2)"> -</text><text class="terminal-1202620514-r2" x="12.2" y="93.2" textLength="219.6" clip-path="url(#terminal-1202620514-line-3)">Run static checks.</text><text class="terminal-1202620514-r2" x="1464" y="93.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-3)"> -</text><text class="terminal-1202620514-r2" x="1464" y="117.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-4)"> -</text><text class="terminal-1202620514-r4" x="0" y="142" textLength="24.4" clip-path="url(#terminal-1202620514-line-5)">╭─</text><text class="terminal-1202620514-r4" x="24.4" y="142" textLength="1415.2" clip-path="url(#terminal-1202620514-line-5)"> Pre-commit flags ──────────────────────────────────────────────────────────────────────────────────────────────────</text><text class="terminal-1202620514-r4" x="1439.6" y="142" textLength="24.4" clip-path="url(#terminal-120262 [...] -</text><text class="terminal-1202620514-r4" x="0" y="166.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-6)">│</text><text class="terminal-1202620514-r5" x="24.4" y="166.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-6)">-</text><text class="terminal-1202620514-r5" x="36.6" y="166.4" textLength="61" clip-path="url(#terminal-1202620514-line-6)">-type</text><text class="terminal-1202620514-r6" x="317.2" y="166.4" textLength="24.4" clip-path="url(#terminal-12026 [...] -</text><text class="terminal-1202620514-r4" x="0" y="190.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-7)">│</text><text class="terminal-1202620514-r7" x="366" y="190.8" textLength="1073.6" clip-path="url(#terminal-1202620514-line-7)">(all | black | blacken-docs | check-airflow-2-1-compatibility |                         [...] -</text><text class="terminal-1202620514-r4" x="0" y="215.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-8)">│</text><text class="terminal-1202620514-r7" x="366" y="215.2" textLength="1073.6" clip-path="url(#terminal-1202620514-line-8)">check-airflow-config-yaml-consistent | check-airflow-providers-have-extras |            </text><text class="terminal-1202620514-r4" x="1451.8" y="215.2" textLength="1 [...] -</text><text class="terminal-1202620514-r4" x="0" y="239.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-9)">│</text><text class="terminal-1202620514-r7" x="366" y="239.6" textLength="1073.6" clip-path="url(#terminal-1202620514-line-9)">check-apache-license-rat | check-base-operator-usage | check-boring-cyborg-configuration</text><text class="terminal-1202620514-r4" x="1451.8" y="239.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-9)">│</te [...] -</text><text class="terminal-1202620514-r4" x="0" y="264" textLength="12.2" clip-path="url(#terminal-1202620514-line-10)">│</text><text class="terminal-1202620514-r7" x="366" y="264" textLength="1073.6" clip-path="url(#terminal-1202620514-line-10)">| check-breeze-top-dependencies-limited | check-builtin-literals |                      </text><text class="termi [...] -</text><text class="terminal-1202620514-r4" x="0" y="288.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-11)">│</text><text class="terminal-1202620514-r7" x="366" y="288.4" textLength="1073.6" clip-path="url(#terminal-1202620514-line-11)">check-changelog-has-no-duplicates | check-daysago-import-from-utils |                   </text><text class="terminal-1202620514-r [...] -</text><text class="terminal-1202620514-r4" x="0" y="312.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-12)">│</text><text class="terminal-1202620514-r7" x="366" y="312.8" textLength="1073.6" clip-path="url(#terminal-1202620514-line-12)">check-docstring-param-types | check-executables-have-shebangs |                         </text><tex [...] -</text><text class="terminal-1202620514-r4" x="0" y="337.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-13)">│</text><text class="terminal-1202620514-r7" x="366" y="337.2" textLength="1073.6" clip-path="url(#terminal-1202620514-line-13)">check-extra-packages-references | check-extras-order | check-for-inclusive-language |   </text><text class="terminal-1202620514-r4" x="1451.8" y="337.2" textLength="12.2" clip-path="url(#terminal-120 [...] -</text><text class="terminal-1202620514-r4" x="0" y="361.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-14)">│</text><text class="terminal-1202620514-r7" x="366" y="361.6" textLength="1073.6" clip-path="url(#terminal-1202620514-line-14)">check-hooks-apply | check-incorrect-use-of-LoggingMixin |                             [...] -</text><text class="terminal-1202620514-r4" x="0" y="386" textLength="12.2" clip-path="url(#terminal-1202620514-line-15)">│</text><text class="terminal-1202620514-r7" x="366" y="386" textLength="1073.6" clip-path="url(#terminal-1202620514-line-15)">check-integrations-are-consistent | check-merge-conflict | check-newsfragments-are-valid</text><text class="terminal-1202620514-r4" x="1451.8" y="386" textLength="12.2" clip-path="url(#terminal-1202620514-line-15)">│</text> [...] -</text><text class="terminal-1202620514-r4" x="0" y="410.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-16)">│</text><text class="terminal-1202620514-r7" x="366" y="410.4" textLength="1073.6" clip-path="url(#terminal-1202620514-line-16)">| check-no-providers-in-core-examples | check-no-relative-imports |                     </text><text class="termin [...] -</text><text class="terminal-1202620514-r4" x="0" y="434.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-17)">│</text><text class="terminal-1202620514-r7" x="366" y="434.8" textLength="1073.6" clip-path="url(#terminal-1202620514-line-17)">check-persist-credentials-disabled-in-github-workflows |                              [...] -</text><text class="terminal-1202620514-r4" x="0" y="459.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-18)">│</text><text class="terminal-1202620514-r7" x="366" y="459.2" textLength="1073.6" clip-path="url(#terminal-1202620514-line-18)">check-pre-commit-information-consistent | check-provide-create-sessions-imports |       </text><text class="terminal-1202620514-r4" x="1451.8" y="459.2" textLength="12.2" clip-path="url(#te [...] -</text><text class="terminal-1202620514-r4" x="0" y="483.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-19)">│</text><text class="terminal-1202620514-r7" x="366" y="483.6" textLength="1073.6" clip-path="url(#terminal-1202620514-line-19)">check-provider-yaml-valid | check-providers-init-file-missing |                         </text><tex [...] -</text><text class="terminal-1202620514-r4" x="0" y="508" textLength="12.2" clip-path="url(#terminal-1202620514-line-20)">│</text><text class="terminal-1202620514-r7" x="366" y="508" textLength="1073.6" clip-path="url(#terminal-1202620514-line-20)">check-providers-subpackages-init-file-exist | check-pydevd-left-in-code |               </text><text class="terminal-1202620514-r4" x="1451.8" y="508" te [...] -</text><text class="terminal-1202620514-r4" x="0" y="532.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-21)">│</text><text class="terminal-1202620514-r7" x="366" y="532.4" textLength="1073.6" clip-path="url(#terminal-1202620514-line-21)">check-revision-heads-map | check-safe-filter-usage-in-html | check-setup-order |        </text><text class="terminal-1202620514-r4" x="1451.8" y="532.4" textLength="12.2" cli [...] -</text><text class="terminal-1202620514-r4" x="0" y="556.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-22)">│</text><text class="terminal-1202620514-r7" x="366" y="556.8" textLength="1073.6" clip-path="url(#terminal-1202620514-line-22)">check-start-date-not-used-in-defaults | check-system-tests-present |                    </text><text class="terminal-1202620 [...] -</text><text class="terminal-1202620514-r4" x="0" y="581.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-23)">│</text><text class="terminal-1202620514-r7" x="366" y="581.2" textLength="1073.6" clip-path="url(#terminal-1202620514-line-23)">check-system-tests-tocs | check-xml | codespell | create-missing-init-py-files-tests |  </text><text class="terminal-1202620514-r4" x="1451.8" y="581.2" textLength="12.2" clip-path="url(#termina [...] -</text><text class="terminal-1202620514-r4" x="0" y="605.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-24)">│</text><text class="terminal-1202620514-r7" x="366" y="605.6" textLength="1073.6" clip-path="url(#terminal-1202620514-line-24)">debug-statements | detect-private-key | doctoc | end-of-file-fixer | fix-encoding-pragma</text><text class="terminal-1202620514-r4" x="1451.8" y="605.6" textLength="12.2" clip-path="url(#terminal-120 [...] -</text><text class="terminal-1202620514-r4" x="0" y="630" textLength="12.2" clip-path="url(#terminal-1202620514-line-25)">│</text><text class="terminal-1202620514-r7" x="366" y="630" textLength="1073.6" clip-path="url(#terminal-1202620514-line-25)">| flynt | forbid-tabs | identity | insert-license | isort | lint-chart-schema | lint-css</text><text class="terminal-1202620514-r4" x="1451.8" y="630" textLength="12.2" clip-path [...] -</text><text class="terminal-1202620514-r4" x="0" y="654.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-26)">│</text><text class="terminal-1202620514-r7" x="366" y="654.4" textLength="1073.6" clip-path="url(#terminal-1202620514-line-26)">| lint-dockerfile | lint-helm-chart | lint-javascript | lint-json-schema | lint-markdown</text><text class="terminal-1202620514-r4" x="1451.8" y="654.4" textLength="12.2" clip-path="url(#termina [...] -</text><text class="terminal-1202620514-r4" x="0" y="678.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-27)">│</text><text class="terminal-1202620514-r7" x="366" y="678.8" textLength="1073.6" clip-path="url(#terminal-1202620514-line-27)">| lint-openapi | mixed-line-ending | pretty-format-json | pydocstyle |                  </text><text class="t [...] -</text><text class="terminal-1202620514-r4" x="0" y="703.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-28)">│</text><text class="terminal-1202620514-r7" x="366" y="703.2" textLength="1073.6" clip-path="url(#terminal-1202620514-line-28)">python-no-log-warn | pyupgrade | rst-backticks | run-flake8 | run-mypy | run-shellcheck </text><text class="terminal-1202620514-r4" x="1451.8" y="703.2" textLength="12.2" clip-path="ur [...] -</text><text class="terminal-1202620514-r4" x="0" y="727.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-29)">│</text><text class="terminal-1202620514-r7" x="366" y="727.6" textLength="1073.6" clip-path="url(#terminal-1202620514-line-29)">| static-check-autoflake | trailing-whitespace | update-breeze-file |                   </text><text class="termin [...] -</text><text class="terminal-1202620514-r4" x="0" y="752" textLength="12.2" clip-path="url(#terminal-1202620514-line-30)">│</text><text class="terminal-1202620514-r7" x="366" y="752" textLength="1073.6" clip-path="url(#terminal-1202620514-line-30)">update-breeze-readme-config-hash | update-extras | update-in-the-wild-to-be-sorted |    </text><text class="terminal-1202620514-r4" x="1451.8" y="752" textLength="12.2" clip-path="url(#terminal-1202 [...] -</text><text class="terminal-1202620514-r4" x="0" y="776.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-31)">│</text><text class="terminal-1202620514-r7" x="366" y="776.4" textLength="1073.6" clip-path="url(#terminal-1202620514-line-31)">update-inlined-dockerfile-scripts | update-local-yml-file | update-migration-references </text><text class="terminal-1202620514-r4" x="1451.8" y="776.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-31 [...] -</text><text class="terminal-1202620514-r4" x="0" y="800.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-32)">│</text><text class="terminal-1202620514-r7" x="366" y="800.8" textLength="1073.6" clip-path="url(#terminal-1202620514-line-32)">| update-providers-dependencies | update-setup-cfg-file |                            [...] -</text><text class="terminal-1202620514-r4" x="0" y="825.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-33)">│</text><text class="terminal-1202620514-r7" x="366" y="825.2" textLength="1073.6" clip-path="url(#terminal-1202620514-line-33)">update-spelling-wordlist-to-be-sorted | update-supported-versions |                     </text><text class="terminal-12 [...] -</text><text class="terminal-1202620514-r4" x="0" y="849.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-34)">│</text><text class="terminal-1202620514-r7" x="366" y="849.6" textLength="1073.6" clip-path="url(#terminal-1202620514-line-34)">update-vendored-in-k8s-json-schema | update-version | yamllint | yesqa)                 </text><text class="terminal-1202620 [...] -</text><text class="terminal-1202620514-r4" x="0" y="874" textLength="12.2" clip-path="url(#terminal-1202620514-line-35)">│</text><text class="terminal-1202620514-r5" x="24.4" y="874" textLength="12.2" clip-path="url(#terminal-1202620514-line-35)">-</text><text class="terminal-1202620514-r5" x="36.6" y="874" textLength="61" clip-path="url(#terminal-1202620514-line-35)">-file</text><text class="terminal-1202620514-r6" x="317.2" y="874" textLength="24.4" clip-path="url(#terminal-1202620514 [...] -</text><text class="terminal-1202620514-r4" x="0" y="898.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-36)">│</text><text class="terminal-1202620514-r5" x="24.4" y="898.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-36)">-</text><text class="terminal-1202620514-r5" x="36.6" y="898.4" textLength="48.8" clip-path="url(#terminal-1202620514-line-36)">-all</text><text class="terminal-1202620514-r5" x="85.4" y="898.4" textLength="73.2" clip-path="url(#terminal-12 [...] -</text><text class="terminal-1202620514-r4" x="0" y="922.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-37)">│</text><text class="terminal-1202620514-r5" x="24.4" y="922.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-37)">-</text><text class="terminal-1202620514-r5" x="36.6" y="922.8" textLength="61" clip-path="url(#terminal-1202620514-line-37)">-show</text><text class="terminal-1202620514-r5" x="97.6" y="922.8" textLength="195.2" clip-path="url(#terminal-12 [...] -</text><text class="terminal-1202620514-r4" x="0" y="947.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-38)">│</text><text class="terminal-1202620514-r5" x="24.4" y="947.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-38)">-</text><text class="terminal-1202620514-r5" x="36.6" y="947.2" textLength="61" clip-path="url(#terminal-1202620514-line-38)">-last</text><text class="terminal-1202620514-r5" x="97.6" y="947.2" textLength="85.4" clip-path="url(#terminal-120 [...] -</text><text class="terminal-1202620514-r4" x="0" y="971.6" textLength="1464" clip-path="url(#terminal-1202620514-line-39)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-1202620514-r2" x="1464" y="971.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-39)"> -</text><text class="terminal-1202620514-r4" x="0" y="996" textLength="24.4" clip-path="url(#terminal-1202620514-line-40)">╭─</text><text class="terminal-1202620514-r4" x="24.4" y="996" textLength="1415.2" clip-path="url(#terminal-1202620514-line-40)"> Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────</text><text class="terminal-1202620514-r4" x="1439.6" y="996" textLength="24.4" clip-path="url(#terminal-120262051 [...] -</text><text class="terminal-1202620514-r4" x="0" y="1020.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-41)">│</text><text class="terminal-1202620514-r5" x="24.4" y="1020.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-41)">-</text><text class="terminal-1202620514-r5" x="36.6" y="1020.4" textLength="85.4" clip-path="url(#terminal-1202620514-line-41)">-commit</text><text class="terminal-1202620514-r5" x="122" y="1020.4" textLength="48.8" clip-path="url(#termi [...] -</text><text class="terminal-1202620514-r4" x="0" y="1044.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-42)">│</text><text class="terminal-1202620514-r2" x="329.4" y="1044.8" textLength="183" clip-path="url(#terminal-1202620514-line-42)">exclusive with </text><text class="terminal-1202620514-r5" x="512.4" y="1044.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-42)">-</text><text class="terminal-1202620514-r5" x="524.6" y="1044.8" textLength="61" cl [...] -</text><text class="terminal-1202620514-r4" x="0" y="1069.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-43)">│</text><text class="terminal-1202620514-r7" x="329.4" y="1069.2" textLength="1110.2" clip-path="url(#terminal-1202620514-line-43)">(TEXT)                                      & [...] -</text><text class="terminal-1202620514-r4" x="0" y="1093.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-44)">│</text><text class="terminal-1202620514-r5" x="24.4" y="1093.6" textLength="12.2" clip-path="url(#terminal-1202620514-line-44)">-</text><text class="terminal-1202620514-r5" x="36.6" y="1093.6" textLength="97.6" clip-path="url(#terminal-1202620514-line-44)">-verbose</text><text class="terminal-1202620514-r6" x="280.6" y="1093.6" textLength="24.4" clip-path="url(#te [...] -</text><text class="terminal-1202620514-r4" x="0" y="1118" textLength="12.2" clip-path="url(#terminal-1202620514-line-45)">│</text><text class="terminal-1202620514-r5" x="24.4" y="1118" textLength="12.2" clip-path="url(#terminal-1202620514-line-45)">-</text><text class="terminal-1202620514-r5" x="36.6" y="1118" textLength="48.8" clip-path="url(#terminal-1202620514-line-45)">-dry</text><text class="terminal-1202620514-r5" x="85.4" y="1118" textLength="48.8" clip-path="url(#terminal-120262 [...] -</text><text class="terminal-1202620514-r4" x="0" y="1142.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-46)">│</text><text class="terminal-1202620514-r5" x="24.4" y="1142.4" textLength="12.2" clip-path="url(#terminal-1202620514-line-46)">-</text><text class="terminal-1202620514-r5" x="36.6" y="1142.4" textLength="85.4" clip-path="url(#terminal-1202620514-line-46)">-github</text><text class="terminal-1202620514-r5" x="122" y="1142.4" textLength="134.2" clip-path="url(#term [...] -</text><text class="terminal-1202620514-r4" x="0" y="1166.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-47)">│</text><text class="terminal-1202620514-r5" x="24.4" y="1166.8" textLength="12.2" clip-path="url(#terminal-1202620514-line-47)">-</text><text class="terminal-1202620514-r5" x="36.6" y="1166.8" textLength="61" clip-path="url(#terminal-1202620514-line-47)">-help</text><text class="terminal-1202620514-r6" x="280.6" y="1166.8" textLength="24.4" clip-path="url(#termina [...] -</text><text class="terminal-1202620514-r4" x="0" y="1191.2" textLength="1464" clip-path="url(#terminal-1202620514-line-48)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-1202620514-r2" x="1464" y="1191.2" textLength="12.2" clip-path="url(#terminal-1202620514-line-48)"> + <g class="terminal-373974906-matrix"> + <text class="terminal-373974906-r2" x="1464" y="20" textLength="12.2" clip-path="url(#terminal-373974906-line-0)"> +</text><text class="terminal-373974906-r3" x="12.2" y="44.4" textLength="85.4" clip-path="url(#terminal-373974906-line-1)">Usage: </text><text class="terminal-373974906-r1" x="97.6" y="44.4" textLength="610" clip-path="url(#terminal-373974906-line-1)">breeze static-checks [OPTIONS] [PRECOMMIT_ARGS]...</text><text class="terminal-373974906-r2" x="1464" y="44.4" textLength="12.2" clip-path="url(#terminal-373974906-line-1)"> +</text><text class="terminal-373974906-r2" x="1464" y="68.8" textLength="12.2" clip-path="url(#terminal-373974906-line-2)"> +</text><text class="terminal-373974906-r2" x="12.2" y="93.2" textLength="219.6" clip-path="url(#terminal-373974906-line-3)">Run static checks.</text><text class="terminal-373974906-r2" x="1464" y="93.2" textLength="12.2" clip-path="url(#terminal-373974906-line-3)"> +</text><text class="terminal-373974906-r2" x="1464" y="117.6" textLength="12.2" clip-path="url(#terminal-373974906-line-4)"> +</text><text class="terminal-373974906-r4" x="0" y="142" textLength="24.4" clip-path="url(#terminal-373974906-line-5)">╭─</text><text class="terminal-373974906-r4" x="24.4" y="142" textLength="1415.2" clip-path="url(#terminal-373974906-line-5)"> Pre-commit flags ──────────────────────────────────────────────────────────────────────────────────────────────────</text><text class="terminal-373974906-r4" x="1439.6" y="142" textLength="24.4" clip-path="url(#terminal-373974906-l [...] +</text><text class="terminal-373974906-r4" x="0" y="166.4" textLength="12.2" clip-path="url(#terminal-373974906-line-6)">│</text><text class="terminal-373974906-r5" x="24.4" y="166.4" textLength="12.2" clip-path="url(#terminal-373974906-line-6)">-</text><text class="terminal-373974906-r5" x="36.6" y="166.4" textLength="61" clip-path="url(#terminal-373974906-line-6)">-type</text><text class="terminal-373974906-r6" x="317.2" y="166.4" textLength="24.4" clip-path="url(#terminal-373974906-li [...] +</text><text class="terminal-373974906-r4" x="0" y="190.8" textLength="12.2" clip-path="url(#terminal-373974906-line-7)">│</text><text class="terminal-373974906-r7" x="366" y="190.8" textLength="1073.6" clip-path="url(#terminal-373974906-line-7)">(all | black | blacken-docs | check-airflow-2-1-compatibility |                         [...] +</text><text class="terminal-373974906-r4" x="0" y="215.2" textLength="12.2" clip-path="url(#terminal-373974906-line-8)">│</text><text class="terminal-373974906-r7" x="366" y="215.2" textLength="1073.6" clip-path="url(#terminal-373974906-line-8)">check-airflow-config-yaml-consistent | check-airflow-providers-have-extras |            </text><text class="terminal-373974906-r4" x="1451.8" y="215.2" textLength="12.2" [...] +</text><text class="terminal-373974906-r4" x="0" y="239.6" textLength="12.2" clip-path="url(#terminal-373974906-line-9)">│</text><text class="terminal-373974906-r7" x="366" y="239.6" textLength="1073.6" clip-path="url(#terminal-373974906-line-9)">check-apache-license-rat | check-base-operator-usage | check-boring-cyborg-configuration</text><text class="terminal-373974906-r4" x="1451.8" y="239.6" textLength="12.2" clip-path="url(#terminal-373974906-line-9)">│</text><te [...] +</text><text class="terminal-373974906-r4" x="0" y="264" textLength="12.2" clip-path="url(#terminal-373974906-line-10)">│</text><text class="terminal-373974906-r7" x="366" y="264" textLength="1073.6" clip-path="url(#terminal-373974906-line-10)">| check-breeze-top-dependencies-limited | check-builtin-literals |                      </text><text class="terminal- [...] +</text><text class="terminal-373974906-r4" x="0" y="288.4" textLength="12.2" clip-path="url(#terminal-373974906-line-11)">│</text><text class="terminal-373974906-r7" x="366" y="288.4" textLength="1073.6" clip-path="url(#terminal-373974906-line-11)">check-changelog-has-no-duplicates | check-daysago-import-from-utils |                   </text><text class="terminal-373974906-r4" x= [...] +</text><text class="terminal-373974906-r4" x="0" y="312.8" textLength="12.2" clip-path="url(#terminal-373974906-line-12)">│</text><text class="terminal-373974906-r7" x="366" y="312.8" textLength="1073.6" clip-path="url(#terminal-373974906-line-12)">check-docstring-param-types | check-executables-have-shebangs |                         </text><text cl [...] +</text><text class="terminal-373974906-r4" x="0" y="337.2" textLength="12.2" clip-path="url(#terminal-373974906-line-13)">│</text><text class="terminal-373974906-r7" x="366" y="337.2" textLength="1073.6" clip-path="url(#terminal-373974906-line-13)">check-extra-packages-references | check-extras-order | check-for-inclusive-language |   </text><text class="terminal-373974906-r4" x="1451.8" y="337.2" textLength="12.2" clip-path="url(#terminal-37397490 [...] +</text><text class="terminal-373974906-r4" x="0" y="361.6" textLength="12.2" clip-path="url(#terminal-373974906-line-14)">│</text><text class="terminal-373974906-r7" x="366" y="361.6" textLength="1073.6" clip-path="url(#terminal-373974906-line-14)">check-hooks-apply | check-incorrect-use-of-LoggingMixin |                             [...] +</text><text class="terminal-373974906-r4" x="0" y="386" textLength="12.2" clip-path="url(#terminal-373974906-line-15)">│</text><text class="terminal-373974906-r7" x="366" y="386" textLength="1073.6" clip-path="url(#terminal-373974906-line-15)">check-integrations-are-consistent | check-merge-conflict | check-newsfragments-are-valid</text><text class="terminal-373974906-r4" x="1451.8" y="386" textLength="12.2" clip-path="url(#terminal-373974906-line-15)">│</text><text [...] +</text><text class="terminal-373974906-r4" x="0" y="410.4" textLength="12.2" clip-path="url(#terminal-373974906-line-16)">│</text><text class="terminal-373974906-r7" x="366" y="410.4" textLength="1073.6" clip-path="url(#terminal-373974906-line-16)">| check-no-providers-in-core-examples | check-no-relative-imports |                     </text><text class="terminal-3 [...] +</text><text class="terminal-373974906-r4" x="0" y="434.8" textLength="12.2" clip-path="url(#terminal-373974906-line-17)">│</text><text class="terminal-373974906-r7" x="366" y="434.8" textLength="1073.6" clip-path="url(#terminal-373974906-line-17)">check-persist-credentials-disabled-in-github-workflows |                              &# [...] +</text><text class="terminal-373974906-r4" x="0" y="459.2" textLength="12.2" clip-path="url(#terminal-373974906-line-18)">│</text><text class="terminal-373974906-r7" x="366" y="459.2" textLength="1073.6" clip-path="url(#terminal-373974906-line-18)">check-pre-commit-information-consistent | check-provide-create-sessions-imports |       </text><text class="terminal-373974906-r4" x="1451.8" y="459.2" textLength="12.2" clip-path="url(#termina [...] +</text><text class="terminal-373974906-r4" x="0" y="483.6" textLength="12.2" clip-path="url(#terminal-373974906-line-19)">│</text><text class="terminal-373974906-r7" x="366" y="483.6" textLength="1073.6" clip-path="url(#terminal-373974906-line-19)">check-provider-yaml-valid | check-providers-init-file-missing |                         </text><text cl [...] +</text><text class="terminal-373974906-r4" x="0" y="508" textLength="12.2" clip-path="url(#terminal-373974906-line-20)">│</text><text class="terminal-373974906-r7" x="366" y="508" textLength="1073.6" clip-path="url(#terminal-373974906-line-20)">check-providers-subpackages-init-file-exist | check-pydevd-left-in-code |               </text><text class="terminal-373974906-r4" x="1451.8" y="508" textLen [...] +</text><text class="terminal-373974906-r4" x="0" y="532.4" textLength="12.2" clip-path="url(#terminal-373974906-line-21)">│</text><text class="terminal-373974906-r7" x="366" y="532.4" textLength="1073.6" clip-path="url(#terminal-373974906-line-21)">check-revision-heads-map | check-safe-filter-usage-in-html | check-setup-order |        </text><text class="terminal-373974906-r4" x="1451.8" y="532.4" textLength="12.2" clip-pat [...] +</text><text class="terminal-373974906-r4" x="0" y="556.8" textLength="12.2" clip-path="url(#terminal-373974906-line-22)">│</text><text class="terminal-373974906-r7" x="366" y="556.8" textLength="1073.6" clip-path="url(#terminal-373974906-line-22)">check-start-date-not-used-in-defaults | check-system-tests-present | check-xml |        </text><text class="terminal-373974906-r4" x="1451.8" y="556.8" textLength="12.2" clip-pat [...] +</text><text class="terminal-373974906-r4" x="0" y="581.2" textLength="12.2" clip-path="url(#terminal-373974906-line-23)">│</text><text class="terminal-373974906-r7" x="366" y="581.2" textLength="1073.6" clip-path="url(#terminal-373974906-line-23)">codespell | debug-statements | detect-private-key | doctoc | end-of-file-fixer |        </text><text class="terminal-373974906-r4" x="1451.8" y="581.2" textLe [...] +</text><text class="terminal-373974906-r4" x="0" y="605.6" textLength="12.2" clip-path="url(#terminal-373974906-line-24)">│</text><text class="terminal-373974906-r7" x="366" y="605.6" textLength="1073.6" clip-path="url(#terminal-373974906-line-24)">fix-encoding-pragma | flynt | forbid-tabs | identity | insert-license | isort |         </text><text class="terminal-373974906-r4" x="1451.8" y [...] +</text><text class="terminal-373974906-r4" x="0" y="630" textLength="12.2" clip-path="url(#terminal-373974906-line-25)">│</text><text class="terminal-373974906-r7" x="366" y="630" textLength="1073.6" clip-path="url(#terminal-373974906-line-25)">lint-chart-schema | lint-css | lint-dockerfile | lint-helm-chart | lint-javascript |    </text><text class="terminal-373974906-r4" x="1451.8" y="630" textLength="12.2" clip-path="url [...] +</text><text class="terminal-373974906-r4" x="0" y="654.4" textLength="12.2" clip-path="url(#terminal-373974906-line-26)">│</text><text class="terminal-373974906-r7" x="366" y="654.4" textLength="1073.6" clip-path="url(#terminal-373974906-line-26)">lint-json-schema | lint-markdown | lint-openapi | mixed-line-ending | pretty-format-json</text><text class="terminal-373974906-r4" x="1451.8" y="654.4" textLength="12.2" clip-path="url(#terminal-37397490 [...] +</text><text class="terminal-373974906-r4" x="0" y="678.8" textLength="12.2" clip-path="url(#terminal-373974906-line-27)">│</text><text class="terminal-373974906-r7" x="366" y="678.8" textLength="1073.6" clip-path="url(#terminal-373974906-line-27)">| pydocstyle | python-no-log-warn | pyupgrade | rst-backticks | run-flake8 | run-mypy | </text><text class="terminal-373974906-r4" x="1451.8" y="678.8" textLength="12.2" clip-pat [...] +</text><text class="terminal-373974906-r4" x="0" y="703.2" textLength="12.2" clip-path="url(#terminal-373974906-line-28)">│</text><text class="terminal-373974906-r7" x="366" y="703.2" textLength="1073.6" clip-path="url(#terminal-373974906-line-28)">run-shellcheck | static-check-autoflake | trailing-whitespace | update-breeze-cmd-output</text><text class="terminal-373974906-r4" x="1451.8" y="703.2" textLength="12.2" clip-path="url(#terminal-373974906-line-28) [...] +</text><text class="terminal-373974906-r4" x="0" y="727.6" textLength="12.2" clip-path="url(#terminal-373974906-line-29)">│</text><text class="terminal-373974906-r7" x="366" y="727.6" textLength="1073.6" clip-path="url(#terminal-373974906-line-29)">| update-breeze-readme-config-hash | update-extras | update-in-the-wild-to-be-sorted |  </text><text class="terminal-373974906-r4" x="1451.8" y="727.6" textLength="12.2" clip-path="url(#terminal-37397490 [...] +</text><text class="terminal-373974906-r4" x="0" y="752" textLength="12.2" clip-path="url(#terminal-373974906-line-30)">│</text><text class="terminal-373974906-r7" x="366" y="752" textLength="1073.6" clip-path="url(#terminal-373974906-line-30)">update-inlined-dockerfile-scripts | update-local-yml-file | update-migration-references </text><text class="terminal-373974906-r4" x="1451.8" y="752" textLength="12.2" clip-path="url(#terminal-373974906-line-30)">│</text>< [...] +</text><text class="terminal-373974906-r4" x="0" y="776.4" textLength="12.2" clip-path="url(#terminal-373974906-line-31)">│</text><text class="terminal-373974906-r7" x="366" y="776.4" textLength="1073.6" clip-path="url(#terminal-373974906-line-31)">| update-providers-dependencies | update-setup-cfg-file |                            [...] +</text><text class="terminal-373974906-r4" x="0" y="800.8" textLength="12.2" clip-path="url(#terminal-373974906-line-32)">│</text><text class="terminal-373974906-r7" x="366" y="800.8" textLength="1073.6" clip-path="url(#terminal-373974906-line-32)">update-spelling-wordlist-to-be-sorted | update-supported-versions |                     </text><text class="terminal-373974 [...] +</text><text class="terminal-373974906-r4" x="0" y="825.2" textLength="12.2" clip-path="url(#terminal-373974906-line-33)">│</text><text class="terminal-373974906-r7" x="366" y="825.2" textLength="1073.6" clip-path="url(#terminal-373974906-line-33)">update-vendored-in-k8s-json-schema | update-version | yamllint | yesqa)                 </text><text class="terminal-373974906-r [...] +</text><text class="terminal-373974906-r4" x="0" y="849.6" textLength="12.2" clip-path="url(#terminal-373974906-line-34)">│</text><text class="terminal-373974906-r5" x="24.4" y="849.6" textLength="12.2" clip-path="url(#terminal-373974906-line-34)">-</text><text class="terminal-373974906-r5" x="36.6" y="849.6" textLength="61" clip-path="url(#terminal-373974906-line-34)">-file</text><text class="terminal-373974906-r6" x="317.2" y="849.6" textLength="24.4" clip-path="url(#terminal-373974906 [...] +</text><text class="terminal-373974906-r4" x="0" y="874" textLength="12.2" clip-path="url(#terminal-373974906-line-35)">│</text><text class="terminal-373974906-r5" x="24.4" y="874" textLength="12.2" clip-path="url(#terminal-373974906-line-35)">-</text><text class="terminal-373974906-r5" x="36.6" y="874" textLength="48.8" clip-path="url(#terminal-373974906-line-35)">-all</text><text class="terminal-373974906-r5" x="85.4" y="874" textLength="73.2" clip-path="url(#terminal-373974906-line-35 [...] +</text><text class="terminal-373974906-r4" x="0" y="898.4" textLength="12.2" clip-path="url(#terminal-373974906-line-36)">│</text><text class="terminal-373974906-r5" x="24.4" y="898.4" textLength="12.2" clip-path="url(#terminal-373974906-line-36)">-</text><text class="terminal-373974906-r5" x="36.6" y="898.4" textLength="61" clip-path="url(#terminal-373974906-line-36)">-show</text><text class="terminal-373974906-r5" x="97.6" y="898.4" textLength="195.2" clip-path="url(#terminal-373974906 [...] +</text><text class="terminal-373974906-r4" x="0" y="922.8" textLength="12.2" clip-path="url(#terminal-373974906-line-37)">│</text><text class="terminal-373974906-r5" x="24.4" y="922.8" textLength="12.2" clip-path="url(#terminal-373974906-line-37)">-</text><text class="terminal-373974906-r5" x="36.6" y="922.8" textLength="61" clip-path="url(#terminal-373974906-line-37)">-last</text><text class="terminal-373974906-r5" x="97.6" y="922.8" textLength="85.4" clip-path="url(#terminal-373974906- [...] +</text><text class="terminal-373974906-r4" x="0" y="947.2" textLength="1464" clip-path="url(#terminal-373974906-line-38)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-373974906-r2" x="1464" y="947.2" textLength="12.2" clip-path="url(#terminal-373974906-line-38)"> +</text><text class="terminal-373974906-r4" x="0" y="971.6" textLength="24.4" clip-path="url(#terminal-373974906-line-39)">╭─</text><text class="terminal-373974906-r4" x="24.4" y="971.6" textLength="1415.2" clip-path="url(#terminal-373974906-line-39)"> Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────</text><text class="terminal-373974906-r4" x="1439.6" y="971.6" textLength="24.4" clip-path="url(#terminal-37397490 [...] +</text><text class="terminal-373974906-r4" x="0" y="996" textLength="12.2" clip-path="url(#terminal-373974906-line-40)">│</text><text class="terminal-373974906-r5" x="24.4" y="996" textLength="12.2" clip-path="url(#terminal-373974906-line-40)">-</text><text class="terminal-373974906-r5" x="36.6" y="996" textLength="85.4" clip-path="url(#terminal-373974906-line-40)">-commit</text><text class="terminal-373974906-r5" x="122" y="996" textLength="48.8" clip-path="url(#terminal-373974906-line- [...] +</text><text class="terminal-373974906-r4" x="0" y="1020.4" textLength="12.2" clip-path="url(#terminal-373974906-line-41)">│</text><text class="terminal-373974906-r2" x="329.4" y="1020.4" textLength="183" clip-path="url(#terminal-373974906-line-41)">exclusive with </text><text class="terminal-373974906-r5" x="512.4" y="1020.4" textLength="12.2" clip-path="url(#terminal-373974906-line-41)">-</text><text class="terminal-373974906-r5" x="524.6" y="1020.4" textLength="61" clip-path [...] +</text><text class="terminal-373974906-r4" x="0" y="1044.8" textLength="12.2" clip-path="url(#terminal-373974906-line-42)">│</text><text class="terminal-373974906-r7" x="329.4" y="1044.8" textLength="1110.2" clip-path="url(#terminal-373974906-line-42)">(TEXT)                                        [...] +</text><text class="terminal-373974906-r4" x="0" y="1069.2" textLength="12.2" clip-path="url(#terminal-373974906-line-43)">│</text><text class="terminal-373974906-r5" x="24.4" y="1069.2" textLength="12.2" clip-path="url(#terminal-373974906-line-43)">-</text><text class="terminal-373974906-r5" x="36.6" y="1069.2" textLength="97.6" clip-path="url(#terminal-373974906-line-43)">-verbose</text><text class="terminal-373974906-r6" x="280.6" y="1069.2" textLength="24.4" clip-path="url(#terminal- [...] +</text><text class="terminal-373974906-r4" x="0" y="1093.6" textLength="12.2" clip-path="url(#terminal-373974906-line-44)">│</text><text class="terminal-373974906-r5" x="24.4" y="1093.6" textLength="12.2" clip-path="url(#terminal-373974906-line-44)">-</text><text class="terminal-373974906-r5" x="36.6" y="1093.6" textLength="48.8" clip-path="url(#terminal-373974906-line-44)">-dry</text><text class="terminal-373974906-r5" x="85.4" y="1093.6" textLength="48.8" clip-path="url(#terminal-37397 [...] +</text><text class="terminal-373974906-r4" x="0" y="1118" textLength="12.2" clip-path="url(#terminal-373974906-line-45)">│</text><text class="terminal-373974906-r5" x="24.4" y="1118" textLength="12.2" clip-path="url(#terminal-373974906-line-45)">-</text><text class="terminal-373974906-r5" x="36.6" y="1118" textLength="85.4" clip-path="url(#terminal-373974906-line-45)">-github</text><text class="terminal-373974906-r5" x="122" y="1118" textLength="134.2" clip-path="url(#terminal-373974906- [...] +</text><text class="terminal-373974906-r4" x="0" y="1142.4" textLength="12.2" clip-path="url(#terminal-373974906-line-46)">│</text><text class="terminal-373974906-r5" x="24.4" y="1142.4" textLength="12.2" clip-path="url(#terminal-373974906-line-46)">-</text><text class="terminal-373974906-r5" x="36.6" y="1142.4" textLength="61" clip-path="url(#terminal-373974906-line-46)">-help</text><text class="terminal-373974906-r6" x="280.6" y="1142.4" textLength="24.4" clip-path="url(#terminal-37397 [...] +</text><text class="terminal-373974906-r4" x="0" y="1166.8" textLength="1464" clip-path="url(#terminal-373974906-line-47)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text class="terminal-373974906-r2" x="1464" y="1166.8" textLength="12.2" clip-path="url(#terminal-373974906-line-47)"> </text> </g> </g> diff --git a/scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py b/scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py index c01c6bfbf6..81b9fedf52 100755 --- a/scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py +++ b/scripts/ci/pre_commit/pre_commit_breeze_cmd_line.py @@ -30,6 +30,12 @@ BREEZE_SOURCES_DIR = BREEZE_INSTALL_DIR / "src" SCREENSHOT_WIDTH = "120" +PREAMBLE = """ +# This file is automatically generated by pre-commit. If you have a conflict with this file +# Please do not solve it but run `breeze regenerate-command-images`. +# This command should fix the conflict and regenerate help images that you have conflict with. +""" + def get_command_list(): comp_env = os.environ.copy() @@ -61,7 +67,7 @@ def print_help_for_all_commands(): ) hash_file_path = BREEZE_IMAGES_DIR / "output-commands-hash.txt" try: - old_hash = hash_file_path.read_text() + old_hash = hash_file_path.read_text()[len(PREAMBLE) :] except FileNotFoundError: old_hash = "" if old_hash == new_hash: @@ -83,7 +89,7 @@ def print_help_for_all_commands(): env['RECORD_BREEZE_OUTPUT_FILE'] = str(BREEZE_IMAGES_DIR / f"output-{command}.svg") env['TERM'] = "xterm-256color" check_call(["breeze", command, "--help"], env=env) - hash_file_path.write_text(new_hash) + hash_file_path.write_text(PREAMBLE + new_hash) def verify_all_commands_described_in_docs(): @@ -114,3 +120,9 @@ def verify_all_commands_described_in_docs(): if __name__ == '__main__': print_help_for_all_commands() verify_all_commands_described_in_docs() + console = Console(width=int(SCREENSHOT_WIDTH), color_system="standard") + if os.environ.get('CI'): + console.print( + "\n\n[yellow] If you see that images got re-generatead in CI, please run:[/]" + "\n\n breeze regenerate-command-images\n\n\n" + )
