Enable ruff rule PT011 and fix violations (#1378) #3962
test.yml
on: push
Lint + smoke checks
59s
E2E LibreTiny (esphome stable)
1m 11s
E2E native ESP-IDF (esphome dev)
2m 37s
Run benchmarks (CodSpeed)
1m 29s
Matrix: e2e
Matrix: test-esphome-channels
Matrix: test
Annotations
14 warnings and 2 notices
|
E2E (esphome dev)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8-python, another job may be creating this cache.
|
|
E2E (esphome dev)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8, another job may be creating this cache.
|
|
Pytest (esphome beta / ubuntu-latest / Python 3.14)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8-python, another job may be creating this cache.
|
|
Pytest (esphome beta / ubuntu-latest / Python 3.14)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8, another job may be creating this cache.
|
|
E2E LibreTiny (esphome stable)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8-python, another job may be creating this cache.
|
|
E2E LibreTiny (esphome stable)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8, another job may be creating this cache.
|
|
Pytest (esphome dev / ubuntu-latest / Python 3.14)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8-python, another job may be creating this cache.
|
|
Pytest (esphome dev / ubuntu-latest / Python 3.14)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8, another job may be creating this cache.
|
|
Run benchmarks (CodSpeed)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.13.13-pruned-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8, another job may be creating this cache.
|
|
Pytest (macos-latest / Python 3.14)
Python cache path /Users/runner/work/_temp/uv-python-dir does not exist on disk. Skipping Python cache save because no managed Python installation was found. If you want uv to install managed Python instead of using a system interpreter, set UV_PYTHON_PREFERENCE=only-managed.
|
|
Pytest (ubuntu-latest / Python 3.12)
Python cache path /home/runner/work/_temp/uv-python-dir does not exist on disk. Skipping Python cache save because no managed Python installation was found. If you want uv to install managed Python instead of using a system interpreter, set UV_PYTHON_PREFERENCE=only-managed.
|
|
Pytest (windows-latest / Python 3.14)
Python cache path D:\a\_temp\uv-python-dir does not exist on disk. Skipping Python cache save because no managed Python installation was found. If you want uv to install managed Python instead of using a system interpreter, set UV_PYTHON_PREFERENCE=only-managed.
|
|
E2E native ESP-IDF (esphome dev)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8-python, another job may be creating this cache.
|
|
E2E native ESP-IDF (esphome dev)
Failed to save: Unable to reserve cache with key setup-uv-2-x86_64-unknown-linux-gnu-ubuntu-24.04-3.14-pruned-py-f41b497bf5d225ec5aaed5f69bc4b910d8566b3defc2d99e3b9d59be3d934bf8, another job may be creating this cache.
|
|
Pytest (windows-latest / Python 3.14)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|
|
Pytest (windows-latest / Python 3.14)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
|