From 21974d4bd5fc5ffeabb6317b760e3aaf91c6424d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 17:46:25 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v2.7.1 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v4.0.0-alpha.8) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61677a8..c0f55d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,14 +8,14 @@ repos: types: [python] entry: poetry run ruff check --fix require_serial: true - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: ruff-format name: 🐶 Ruff Formatter language: system types: [python] entry: poetry run ruff format require_serial: true - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: check-json name: { Check JSON files language: system @@ -46,7 +46,7 @@ repos: language: system types: [text] entry: poetry run end-of-file-fixer - stages: [commit, push, manual] + stages: [pre-commit, pre-push, manual] - id: no-commit-to-branch name: 🛑 Don't commit to main branch language: system @@ -67,7 +67,7 @@ repos: types: [python] entry: poetry run pylint - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.7.1 + rev: v4.0.0-alpha.8 hooks: - id: prettier name: 🎨 Format using prettier From 10ffc427c626afea23225203dfaf8b3cc8c5c3e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 17:46:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 1 + custom_components/aliexpress_openplatform/manifest.json | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index be6ad00..db80b97 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # ha-aliexpress-openplatform + A custom Home Assistant integration to track AliExpress affiliate purchases in real-time This component enables Home Assistant users to monitor and display affiliate purchases made through AliExpress, leveraging the AliExpress Affiliate API. The integration provides dynamically updated sensors for tracking purchase details, including product names, quantities, prices, and order statuses. Users can easily visualize affiliate sales data within their Home Assistant dashboards and set up custom notifications or automations based on purchase activity. diff --git a/custom_components/aliexpress_openplatform/manifest.json b/custom_components/aliexpress_openplatform/manifest.json index a6703d7..e1d9c11 100644 --- a/custom_components/aliexpress_openplatform/manifest.json +++ b/custom_components/aliexpress_openplatform/manifest.json @@ -6,8 +6,6 @@ "documentation": "https://github.com/hectorzin/ha-aliexpress-openplatform", "iot_class": "cloud_polling", "issue_tracker": "https://github.com/hectorzin/ha-aliexpress-openplatform/issues", - "requirements": [ - "python-aliexpress-api==3.0.0" - ], + "requirements": ["python-aliexpress-api==3.0.0"], "version": "0.0.0" }