This is an automated email from the ASF dual-hosted git repository.
potiuk 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 89579a4ef7 Separate mypy pre-commit checks (#30502)
89579a4ef7 is described below
commit 89579a4ef7970879290e01611ed558e6540e56b6
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Apr 6 11:25:28 2023 +0200
Separate mypy pre-commit checks (#30502)
Previously all mypy pre-commit checks were run as one "run-mypy"
check, but that does not allow to run them separately when trying
to fix some of them, only for a specific part of the sources.
This PR splits them into "dev", "core", "providers" and "docs".
---
.pre-commit-config.yaml | 8 ++--
STATIC_CODE_CHECKS.rst | 11 +++--
dev/breeze/src/airflow_breeze/pre_commit_ids.py | 5 +-
images/breeze/output-commands-hash.txt | 2 +-
images/breeze/output_static-checks.svg | 54 ++++++++++++----------
.../pre_commit_check_pre_commit_hooks.py | 2 +-
6 files changed, 46 insertions(+), 36 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e0b0637b52..fab996d80d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -893,14 +893,14 @@ repos:
pass_filenames: false
## ADD MOST PRE-COMMITS ABOVE THAT LINE
# The below pre-commits are those requiring CI image to be built
- - id: run-mypy
+ - id: run-mypy-dev
name: Run mypy for dev
language: python
entry: ./scripts/ci/pre_commit/pre_commit_mypy.py
files: ^dev/.*\.py$
require_serial: true
additional_dependencies: ['rich>=12.4.4', 'inputimeout', 'pyyaml']
- - id: run-mypy
+ - id: run-mypy-core
name: Run mypy for core
language: python
entry: ./scripts/ci/pre_commit/pre_commit_mypy.py --namespace-packages
@@ -908,7 +908,7 @@ repos:
exclude:
^.*/_vendor/|^airflow/migrations|^airflow/providers|^dev|^docs|^provider_packages|^tests/providers|^tests/system/providers
require_serial: true
additional_dependencies: ['rich>=12.4.4', 'inputimeout', 'pyyaml']
- - id: run-mypy
+ - id: run-mypy-providers
name: Run mypy for providers
language: python
entry: ./scripts/ci/pre_commit/pre_commit_mypy.py --namespace-packages
@@ -916,7 +916,7 @@ repos:
exclude: ^.*/_vendor/
require_serial: true
additional_dependencies: ['rich>=12.4.4', 'inputimeout', 'pyyaml']
- - id: run-mypy
+ - id: run-mypy-docs
name: Run mypy for /docs/ folder
language: python
entry: ./scripts/ci/pre_commit/pre_commit_mypy.py
diff --git a/STATIC_CODE_CHECKS.rst b/STATIC_CODE_CHECKS.rst
index 65808784f3..5ee49413ab 100644
--- a/STATIC_CODE_CHECKS.rst
+++ b/STATIC_CODE_CHECKS.rst
@@ -296,10 +296,13 @@ require Breeze Docker image to be build locally.
+-----------------------------------------------------------+------------------------------------------------------------------+---------+
| ruff | ruff
| |
+-----------------------------------------------------------+------------------------------------------------------------------+---------+
-| run-mypy | * Run mypy for
dev | * |
-| | * Run mypy for
core | |
-| | * Run mypy for
providers | |
-| | * Run mypy for
/docs/ folder | |
+| run-mypy-core | Run mypy for
core | * |
++-----------------------------------------------------------+------------------------------------------------------------------+---------+
+| run-mypy-dev | Run mypy for dev
| * |
++-----------------------------------------------------------+------------------------------------------------------------------+---------+
+| run-mypy-docs | Run mypy for
/docs/ folder | * |
++-----------------------------------------------------------+------------------------------------------------------------------+---------+
+| run-mypy-providers | Run mypy for
providers | * |
+-----------------------------------------------------------+------------------------------------------------------------------+---------+
| run-shellcheck | Check Shell
scripts syntax correctness | |
+-----------------------------------------------------------+------------------------------------------------------------------+---------+
diff --git a/dev/breeze/src/airflow_breeze/pre_commit_ids.py
b/dev/breeze/src/airflow_breeze/pre_commit_ids.py
index a6ecf2c10f..927335adc9 100644
--- a/dev/breeze/src/airflow_breeze/pre_commit_ids.py
+++ b/dev/breeze/src/airflow_breeze/pre_commit_ids.py
@@ -94,7 +94,10 @@ PRE_COMMIT_LIST = [
"replace-bad-characters",
"rst-backticks",
"ruff",
- "run-mypy",
+ "run-mypy-core",
+ "run-mypy-dev",
+ "run-mypy-docs",
+ "run-mypy-providers",
"run-shellcheck",
"trailing-whitespace",
"ts-compile-format-lint-www",
diff --git a/images/breeze/output-commands-hash.txt
b/images/breeze/output-commands-hash.txt
index 354144ba99..e4ff0d03c3 100644
--- a/images/breeze/output-commands-hash.txt
+++ b/images/breeze/output-commands-hash.txt
@@ -55,7 +55,7 @@ setup:version:123b462a421884dc2320ffc5e54b2478
setup:56a2ef337c354362760d247df5d05365
shell:ab07ac2d57253e25367a7200ce686703
start-airflow:5e8460ac38f8e9ea2a0ac7e248fd7bc9
-static-checks:dc474d2e8ab875e869e35c92c858cff5
+static-checks:65a6af27e027ef32f006af03ac4c58c0
stop:e5aa686b4e53707ced4039d8414d5cd6
testing:docker-compose-tests:b86c044b24138af0659a05ed6331576c
testing:helm-tests:94a442e7f3f63b34c4831a84d165690a
diff --git a/images/breeze/output_static-checks.svg
b/images/breeze/output_static-checks.svg
index 74f95460f1..35f158da88 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 1392.0"
xmlns="http://www.w3.org/2000/svg">
+<svg class="rich-terminal" viewBox="0 0 1482 1416.3999999999999"
xmlns="http://www.w3.org/2000/svg">
<!-- Generated with Rich https://www.textualize.io -->
<style>
@@ -43,7 +43,7 @@
<defs>
<clipPath id="breeze-static-checks-clip-terminal">
- <rect x="0" y="0" width="1463.0" height="1341.0" />
+ <rect x="0" y="0" width="1463.0" height="1365.3999999999999" />
</clipPath>
<clipPath id="breeze-static-checks-line-0">
<rect x="0" y="1.5" width="1464" height="24.65"/>
@@ -207,9 +207,12 @@
<clipPath id="breeze-static-checks-line-53">
<rect x="0" y="1294.7" width="1464" height="24.65"/>
</clipPath>
+<clipPath id="breeze-static-checks-line-54">
+ <rect x="0" y="1319.1" 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="1390" rx="8"/><text
class="breeze-static-checks-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="1414.4" rx="8"/><text
class="breeze-static-checks-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"/>
@@ -252,28 +255,29 @@
</text><text class="breeze-static-checks-r5" x="0" y="752" textLength="12.2"
clip-path="url(#breeze-static-checks-line-30)">│</text><text
class="breeze-static-checks-r7" x="366" y="752" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-30)">| flynt | identity | insert-license | lint-chart-schema | lint-css | lint-dockerfile |  </text><text
class="breeze-static-checks-r5" x="1451.8" y="752" textLength="12.2" [...]
</text><text class="breeze-static-checks-r5" x="0" y="776.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-31)">│</text><text
class="breeze-static-checks-r7" x="366" y="776.4" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-31)">lint-helm-chart | lint-json-schema | lint-markdown | lint-openapi | mixed-line-ending | </text><text
class="breeze-static-checks-r5" x="1451.8" y="776.4" textLength="12.2"
clip-path="ur [...]
</text><text class="breeze-static-checks-r5" x="0" y="800.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-32)">│</text><text
class="breeze-static-checks-r7" x="366" y="800.8" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-32)">pretty-format-json | python-no-log-warn | replace-bad-characters | rst-backticks | ruff </text><text
class="breeze-static-checks-r5" x="1451.8" y="800.8" textLength="12.2"
clip-path="url(#br [...]
-</text><text class="breeze-static-checks-r5" x="0" y="825.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-33)">│</text><text
class="breeze-static-checks-r7" x="366" y="825.2" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-33)">| run-mypy | run-shellcheck | trailing-whitespace | ts-compile-format-lint-www |        </text><text
class="breeze-static-checks-r5" x="1451.8" y="825.2" t [...]
-</text><text class="breeze-static-checks-r5" x="0" y="849.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-34)">│</text><text
class="breeze-static-checks-r7" x="366" y="849.6" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-34)">update-black-version | update-breeze-cmd-output | update-breeze-readme-config-hash |    </text><text
class="breeze-static-checks-r5" x="1451.8" y="849.6" textLength="12.2"
clip-path="url(#br [...]
-</text><text class="breeze-static-checks-r5" x="0" y="874" textLength="12.2"
clip-path="url(#breeze-static-checks-line-35)">│</text><text
class="breeze-static-checks-r7" x="366" y="874" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-35)">update-common-sql-api-stubs | update-er-diagram | update-extras |                       </text><tex
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="898.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-36)">│</text><text
class="breeze-static-checks-r7" x="366" y="898.4" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-36)">update-in-the-wild-to-be-sorted | update-inlined-dockerfile-scripts |                   </text><text
class="breeze-static-che [...]
-</text><text class="breeze-static-checks-r5" x="0" y="922.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-37)">│</text><text
class="breeze-static-checks-r7" x="366" y="922.8" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-37)">update-installed-providers-to-be-sorted | update-local-yml-file |                       </text><text
clas [...]
-</text><text class="breeze-static-checks-r5" x="0" y="947.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-38)">│</text><text
class="breeze-static-checks-r7" x="366" y="947.2" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-38)">update-migration-references | update-providers-dependencies |                          
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="971.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-39)">│</text><text
class="breeze-static-checks-r7" x="366" y="971.6" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-39)">update-spelling-wordlist-to-be-sorted | update-supported-versions |                     </text><text
class="breeze- [...]
-</text><text class="breeze-static-checks-r5" x="0" y="996" textLength="12.2"
clip-path="url(#breeze-static-checks-line-40)">│</text><text
class="breeze-static-checks-r7" x="366" y="996" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-40)">update-vendored-in-k8s-json-schema | update-version | yamllint)                         </text
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1020.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-41)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1020.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-41)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1020.4" textLength="61"
clip-path="url(#breeze-static-checks-line-41)">-file</text><text
class="breeze-static-checks-r6" x="317.2" y="1020.4" textLength="24.4"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1044.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-42)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1044.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-42)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1044.8" textLength="48.8"
clip-path="url(#breeze-static-checks-line-42)">-all</text><text
class="breeze-static-checks-r4" x="85.4" y="1044.8" textLength="73.2"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1069.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-43)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1069.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-43)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1069.2" textLength="61"
clip-path="url(#breeze-static-checks-line-43)">-show</text><text
class="breeze-static-checks-r4" x="97.6" y="1069.2" textLength="195.2"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1093.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-44)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1093.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-44)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1093.6" textLength="61"
clip-path="url(#breeze-static-checks-line-44)">-last</text><text
class="breeze-static-checks-r4" x="97.6" y="1093.6" textLength="85.4"
clip-path="url(#b [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1118" textLength="12.2"
clip-path="url(#breeze-static-checks-line-45)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1118" textLength="12.2"
clip-path="url(#breeze-static-checks-line-45)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1118" textLength="85.4"
clip-path="url(#breeze-static-checks-line-45)">-commit</text><text
class="breeze-static-checks-r4" x="122" y="1118" textLength="48.8"
clip-path="url(#breeze [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1142.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-46)">│</text><text
class="breeze-static-checks-r2" x="366" y="1142.4" textLength="292.8"
clip-path="url(#breeze-static-checks-line-46)">Mutually exclusive with </text><text
class="breeze-static-checks-r4" x="658.8" y="1142.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-46)">-</text><text
class="breeze-static-checks-r4" x="671" y="1142.4" [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1166.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-47)">│</text><text
class="breeze-static-checks-r7" x="366" y="1166.8" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-47)">(TEXT)                                      
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1191.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-48)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1191.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-48)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1191.2" textLength="85.4"
clip-path="url(#breeze-static-checks-line-48)">-github</text><text
class="breeze-static-checks-r4" x="122" y="1191.2" textLength="134.2"
clip-path="ur [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1215.6"
textLength="1464"
clip-path="url(#breeze-static-checks-line-49)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r2" x="1464" y="1215.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-49)">
-</text><text class="breeze-static-checks-r5" x="0" y="1240" textLength="24.4"
clip-path="url(#breeze-static-checks-line-50)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="1240" textLength="195.2"
clip-path="url(#breeze-static-checks-line-50)"> Common options </text><text
class="breeze-static-checks-r5" x="219.6" y="1240" textLength="1220"
clip-path="url(#breeze-static-checks-line-50)">────────────────────────────────────────────────────────────────────────────
[...]
-</text><text class="breeze-static-checks-r5" x="0" y="1264.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-51)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1264.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-51)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1264.4" textLength="97.6"
clip-path="url(#breeze-static-checks-line-51)">-verbose</text><text
class="breeze-static-checks-r6" x="158.6" y="1264.4" textLength="24.4"
clip-path=" [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1288.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-52)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1288.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-52)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1288.8" textLength="48.8"
clip-path="url(#breeze-static-checks-line-52)">-dry</text><text
class="breeze-static-checks-r4" x="85.4" y="1288.8" textLength="48.8"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1313.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-53)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1313.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-53)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1313.2" textLength="61"
clip-path="url(#breeze-static-checks-line-53)">-help</text><text
class="breeze-static-checks-r6" x="158.6" y="1313.2" textLength="24.4"
clip-path="url(# [...]
-</text><text class="breeze-static-checks-r5" x="0" y="1337.6"
textLength="1464"
clip-path="url(#breeze-static-checks-line-54)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r2" x="1464" y="1337.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-54)">
+</text><text class="breeze-static-checks-r5" x="0" y="825.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-33)">│</text><text
class="breeze-static-checks-r7" x="366" y="825.2" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-33)">| run-mypy-core | run-mypy-dev | run-mypy-docs | run-mypy-providers | run-shellcheck |  </text><text
class="breeze-static-checks-r5" x="1451.8" y="825.2" textLength="12.2" cli
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="849.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-34)">│</text><text
class="breeze-static-checks-r7" x="366" y="849.6" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-34)">trailing-whitespace | ts-compile-format-lint-www | update-black-version |               </text><text
class="breeze-static-checks-r5" x= [...]
+</text><text class="breeze-static-checks-r5" x="0" y="874" textLength="12.2"
clip-path="url(#breeze-static-checks-line-35)">│</text><text
class="breeze-static-checks-r7" x="366" y="874" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-35)">update-breeze-cmd-output | update-breeze-readme-config-hash |                           <
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="898.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-36)">│</text><text
class="breeze-static-checks-r7" x="366" y="898.4" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-36)">update-common-sql-api-stubs | update-er-diagram | update-extras |                       </text>
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="922.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-37)">│</text><text
class="breeze-static-checks-r7" x="366" y="922.8" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-37)">update-in-the-wild-to-be-sorted | update-inlined-dockerfile-scripts |                   </text><text
class="breeze-static-che [...]
+</text><text class="breeze-static-checks-r5" x="0" y="947.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-38)">│</text><text
class="breeze-static-checks-r7" x="366" y="947.2" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-38)">update-installed-providers-to-be-sorted | update-local-yml-file |                       </text><text
clas [...]
+</text><text class="breeze-static-checks-r5" x="0" y="971.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-39)">│</text><text
class="breeze-static-checks-r7" x="366" y="971.6" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-39)">update-migration-references | update-providers-dependencies |                          
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="996" textLength="12.2"
clip-path="url(#breeze-static-checks-line-40)">│</text><text
class="breeze-static-checks-r7" x="366" y="996" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-40)">update-spelling-wordlist-to-be-sorted | update-supported-versions |                     </text><text
class="breeze-stat [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1020.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-41)">│</text><text
class="breeze-static-checks-r7" x="366" y="1020.4" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-41)">update-vendored-in-k8s-json-schema | update-version | yamllint)                         
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1044.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-42)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1044.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-42)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1044.8" textLength="61"
clip-path="url(#breeze-static-checks-line-42)">-file</text><text
class="breeze-static-checks-r6" x="317.2" y="1044.8" textLength="24.4"
clip-path="url(# [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1069.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-43)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1069.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-43)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1069.2" textLength="48.8"
clip-path="url(#breeze-static-checks-line-43)">-all</text><text
class="breeze-static-checks-r4" x="85.4" y="1069.2" textLength="73.2"
clip-path="url(# [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1093.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-44)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1093.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-44)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1093.6" textLength="61"
clip-path="url(#breeze-static-checks-line-44)">-show</text><text
class="breeze-static-checks-r4" x="97.6" y="1093.6" textLength="195.2"
clip-path="url(# [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1118" textLength="12.2"
clip-path="url(#breeze-static-checks-line-45)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1118" textLength="12.2"
clip-path="url(#breeze-static-checks-line-45)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1118" textLength="61"
clip-path="url(#breeze-static-checks-line-45)">-last</text><text
class="breeze-static-checks-r4" x="97.6" y="1118" textLength="85.4"
clip-path="url(#breeze-st [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1142.4"
textLength="12.2" clip-path="url(#breeze-static-checks-line-46)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1142.4" textLength="12.2"
clip-path="url(#breeze-static-checks-line-46)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1142.4" textLength="85.4"
clip-path="url(#breeze-static-checks-line-46)">-commit</text><text
class="breeze-static-checks-r4" x="122" y="1142.4" textLength="48.8"
clip-path="url [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1166.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-47)">│</text><text
class="breeze-static-checks-r2" x="366" y="1166.8" textLength="292.8"
clip-path="url(#breeze-static-checks-line-47)">Mutually exclusive with </text><text
class="breeze-static-checks-r4" x="658.8" y="1166.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-47)">-</text><text
class="breeze-static-checks-r4" x="671" y="1166.8" [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1191.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-48)">│</text><text
class="breeze-static-checks-r7" x="366" y="1191.2" textLength="1073.6"
clip-path="url(#breeze-static-checks-line-48)">(TEXT)                                      
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1215.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-49)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1215.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-49)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1215.6" textLength="85.4"
clip-path="url(#breeze-static-checks-line-49)">-github</text><text
class="breeze-static-checks-r4" x="122" y="1215.6" textLength="134.2"
clip-path="ur [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1240" textLength="1464"
clip-path="url(#breeze-static-checks-line-50)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r2" x="1464" y="1240" textLength="12.2"
clip-path="url(#breeze-static-checks-line-50)">
+</text><text class="breeze-static-checks-r5" x="0" y="1264.4"
textLength="24.4" clip-path="url(#breeze-static-checks-line-51)">╭─</text><text
class="breeze-static-checks-r5" x="24.4" y="1264.4" textLength="195.2"
clip-path="url(#breeze-static-checks-line-51)"> Common options </text><text
class="breeze-static-checks-r5" x="219.6" y="1264.4" textLength="1220"
clip-path="url(#breeze-static-checks-line-51)">──────────────────────────────────────────────────────────────────────
[...]
+</text><text class="breeze-static-checks-r5" x="0" y="1288.8"
textLength="12.2" clip-path="url(#breeze-static-checks-line-52)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1288.8" textLength="12.2"
clip-path="url(#breeze-static-checks-line-52)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1288.8" textLength="97.6"
clip-path="url(#breeze-static-checks-line-52)">-verbose</text><text
class="breeze-static-checks-r6" x="158.6" y="1288.8" textLength="24.4"
clip-path=" [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1313.2"
textLength="12.2" clip-path="url(#breeze-static-checks-line-53)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1313.2" textLength="12.2"
clip-path="url(#breeze-static-checks-line-53)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1313.2" textLength="48.8"
clip-path="url(#breeze-static-checks-line-53)">-dry</text><text
class="breeze-static-checks-r4" x="85.4" y="1313.2" textLength="48.8"
clip-path="url(# [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1337.6"
textLength="12.2" clip-path="url(#breeze-static-checks-line-54)">│</text><text
class="breeze-static-checks-r4" x="24.4" y="1337.6" textLength="12.2"
clip-path="url(#breeze-static-checks-line-54)">-</text><text
class="breeze-static-checks-r4" x="36.6" y="1337.6" textLength="61"
clip-path="url(#breeze-static-checks-line-54)">-help</text><text
class="breeze-static-checks-r6" x="158.6" y="1337.6" textLength="24.4"
clip-path="url(# [...]
+</text><text class="breeze-static-checks-r5" x="0" y="1362" textLength="1464"
clip-path="url(#breeze-static-checks-line-55)">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</text><text
class="breeze-static-checks-r2" x="1464" y="1362" textLength="12.2"
clip-path="url(#breeze-static-checks-line-55)">
</text>
</g>
</g>
diff --git a/scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
b/scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
index 1c98d5cb41..88ff73662c 100755
--- a/scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
+++ b/scripts/ci/pre_commit/pre_commit_check_pre_commit_hooks.py
@@ -58,7 +58,7 @@ def get_errors_and_hooks(content: Any, max_length: int) ->
tuple[list[str], dict
else:
errors.append(f"The id is missing in {hook}")
continue
- if hook_id == "run-mypy":
+ if hook_id == "run-mypy-dev":
needs_image = True
if "name" not in hook:
errors.append(