mirror of
https://github.com/esphome/esphome.git
synced 2025-10-18 17:53:47 +01:00
Merge remote-tracking branch 'upstream/dev' into memory_api
This commit is contained in:
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
|
uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
build-mode: ${{ matrix.build-mode }}
|
build-mode: ${{ matrix.build-mode }}
|
||||||
@@ -86,6 +86,6 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
|
uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
|
||||||
with:
|
with:
|
||||||
category: "/language:${{matrix.language}}"
|
category: "/language:${{matrix.language}}"
|
||||||
|
@@ -11,7 +11,7 @@ ci:
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: v0.13.3
|
rev: v0.14.0
|
||||||
hooks:
|
hooks:
|
||||||
# Run the linter.
|
# Run the linter.
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
@@ -133,9 +133,6 @@ APIError APINoiseFrameHelper::loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Read a packet into the rx_buf_.
|
/** Read a packet into the rx_buf_.
|
||||||
*
|
|
||||||
* On success, rx_buf_ contains the frame data and state variables are cleared for the next read.
|
|
||||||
* Caller is responsible for consuming rx_buf_ (e.g., via std::move).
|
|
||||||
*
|
*
|
||||||
* @return APIError::OK if a full packet is in rx_buf_
|
* @return APIError::OK if a full packet is in rx_buf_
|
||||||
*
|
*
|
||||||
|
@@ -48,9 +48,6 @@ APIError APIPlaintextFrameHelper::loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Read a packet into the rx_buf_.
|
/** Read a packet into the rx_buf_.
|
||||||
*
|
|
||||||
* On success, rx_buf_ contains the frame data and state variables are cleared for the next read.
|
|
||||||
* Caller is responsible for consuming rx_buf_ (e.g., via std::move).
|
|
||||||
*
|
*
|
||||||
* @return See APIError
|
* @return See APIError
|
||||||
*
|
*
|
||||||
|
@@ -75,6 +75,9 @@ FILTER_PLATFORMIO_LINES = [
|
|||||||
r"Creating BIN file .*",
|
r"Creating BIN file .*",
|
||||||
r"Warning! Could not find file \".*.crt\"",
|
r"Warning! Could not find file \".*.crt\"",
|
||||||
r"Warning! Arduino framework as an ESP-IDF component doesn't handle the `variant` field! The default `esp32` variant will be used.",
|
r"Warning! Arduino framework as an ESP-IDF component doesn't handle the `variant` field! The default `esp32` variant will be used.",
|
||||||
|
r"Warning: DEPRECATED: 'esptool.py' is deprecated. Please use 'esptool' instead. The '.py' suffix will be removed in a future major release.",
|
||||||
|
r"Warning: esp-idf-size exited with code 2",
|
||||||
|
r"esp_idf_size: error: unrecognized arguments: --ng",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ platformio==6.1.18 # When updating platformio, also update /docker/Dockerfile
|
|||||||
esptool==5.1.0
|
esptool==5.1.0
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
esphome-dashboard==20250904.0
|
esphome-dashboard==20250904.0
|
||||||
aioesphomeapi==41.11.0
|
aioesphomeapi==41.12.0
|
||||||
zeroconf==0.148.0
|
zeroconf==0.148.0
|
||||||
puremagic==1.30
|
puremagic==1.30
|
||||||
ruamel.yaml==0.18.15 # dashboard_import
|
ruamel.yaml==0.18.15 # dashboard_import
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
pylint==3.3.9
|
pylint==3.3.9
|
||||||
flake8==7.3.0 # also change in .pre-commit-config.yaml when updating
|
flake8==7.3.0 # also change in .pre-commit-config.yaml when updating
|
||||||
ruff==0.13.3 # also change in .pre-commit-config.yaml when updating
|
ruff==0.14.0 # also change in .pre-commit-config.yaml when updating
|
||||||
pyupgrade==3.20.0 # also change in .pre-commit-config.yaml when updating
|
pyupgrade==3.20.0 # also change in .pre-commit-config.yaml when updating
|
||||||
pre-commit
|
pre-commit
|
||||||
|
|
||||||
|
@@ -529,7 +529,16 @@ def get_all_dependencies(component_names: set[str]) -> set[str]:
|
|||||||
new_components.update(dep.split(".")[0] for dep in comp.dependencies)
|
new_components.update(dep.split(".")[0] for dep in comp.dependencies)
|
||||||
|
|
||||||
# Add auto_load components
|
# Add auto_load components
|
||||||
new_components.update(comp.auto_load)
|
auto_load = comp.auto_load
|
||||||
|
if callable(auto_load):
|
||||||
|
import inspect
|
||||||
|
|
||||||
|
if inspect.signature(auto_load).parameters:
|
||||||
|
auto_load = auto_load(None)
|
||||||
|
else:
|
||||||
|
auto_load = auto_load()
|
||||||
|
|
||||||
|
new_components.update(auto_load)
|
||||||
|
|
||||||
# Check if we found any new components
|
# Check if we found any new components
|
||||||
new_components -= all_components
|
new_components -= all_components
|
||||||
|
Reference in New Issue
Block a user