diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63b0db9..b00622a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,13 +17,13 @@ repos: - --use-current-year exclude: 'idf_build_apps/vendors/' - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.15.6' + rev: 'v0.16.5' hooks: - id: ruff-check args: ['--fix'] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.19.1' + rev: 'v2.3.1' hooks: - id: mypy args: ['--warn-unused-ignores'] diff --git a/docs/en/guides/1.x_to_2.x.md b/docs/en/guides/1.x_to_2.x.md index 3986689..b4f1e00 100644 --- a/docs/en/guides/1.x_to_2.x.md +++ b/docs/en/guides/1.x_to_2.x.md @@ -20,6 +20,7 @@ After: ```python import logging + idf_build_apps_logger = logging.getLogger('idf_build_apps') ``` diff --git a/docs/en/guides/custom_app.md b/docs/en/guides/custom_app.md index d15d8da..cfd9caa 100644 --- a/docs/en/guides/custom_app.md +++ b/docs/en/guides/custom_app.md @@ -12,6 +12,7 @@ from idf_build_apps.constants import BuildStatus import os from typing import Literal # Python 3.8+ only. from typing_extensions import Literal for earlier versions + class CustomApp(App): build_system: Literal['custom'] = 'custom' # Must be unique to identify your custom app type