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 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" }