fix: unblock CI collection, align ruff target, drop core-only quality_scale
- pyproject.toml: add pythonpath = ["."] so tests/ can import custom_components.openai_compatible (CI was red at collection without it) - pyproject.toml: ruff target-version py313 -> py314, matching HA 2026.9's floor (already reflected in the CI workflow and requirements_test.txt) - .gitignore: add .ruff_cache/ - remove custom_components/openai_compatible/quality_scale.yaml — a core-repo-only concept; the manifest no longer declares a quality scale, so the file asserted a tier this fork hasn't earned Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01739Seac5eMAfNwFeiwV5r4
This commit is contained in:
1 parent
9d8c36f793
commit
852ddc0aeb
3 files changed
+3
-100
No files matched your search
@@ -1,3 +1,4 @@
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
.ruff_cache/
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
rules:
|
|
||||||
# Bronze
|
|
||||||
action-setup: done
|
|
||||||
appropriate-polling:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
Integration does not poll.
|
|
||||||
brands: done
|
|
||||||
common-modules: done
|
|
||||||
config-flow-test-coverage: done
|
|
||||||
config-flow: done
|
|
||||||
dependency-transparency: done
|
|
||||||
docs-actions: done
|
|
||||||
docs-conditions:
|
|
||||||
status: exempt
|
|
||||||
comment: This integration does not have any conditions.
|
|
||||||
docs-high-level-description: done
|
|
||||||
docs-installation-instructions: done
|
|
||||||
docs-removal-instructions: done
|
|
||||||
docs-triggers:
|
|
||||||
status: exempt
|
|
||||||
comment: This integration does not have any triggers.
|
|
||||||
entity-event-setup: done
|
|
||||||
entity-unique-id: done
|
|
||||||
has-entity-name: done
|
|
||||||
runtime-data: done
|
|
||||||
test-before-configure: done
|
|
||||||
test-before-setup: done
|
|
||||||
unique-config-entry: done
|
|
||||||
|
|
||||||
# Silver
|
|
||||||
action-exceptions: done
|
|
||||||
config-entry-unloading: done
|
|
||||||
docs-configuration-parameters: done
|
|
||||||
docs-installation-parameters: done
|
|
||||||
entity-unavailable: todo
|
|
||||||
integration-owner: todo
|
|
||||||
log-when-unavailable: todo
|
|
||||||
parallel-updates: done
|
|
||||||
reauthentication-flow: done
|
|
||||||
test-coverage: done
|
|
||||||
|
|
||||||
# Gold
|
|
||||||
devices: done
|
|
||||||
diagnostics: todo
|
|
||||||
discovery-update-info:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
Service integration, no discovery.
|
|
||||||
discovery:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
Service integration, no discovery.
|
|
||||||
docs-data-update:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
No data updates.
|
|
||||||
docs-examples: done
|
|
||||||
docs-known-limitations: done
|
|
||||||
docs-supported-devices:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
Service integration, no devices.
|
|
||||||
docs-supported-functions: done
|
|
||||||
docs-troubleshooting: done
|
|
||||||
docs-use-cases: done
|
|
||||||
dynamic-devices:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
Service integration, no devices.
|
|
||||||
entity-category:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
No entities with categories.
|
|
||||||
entity-device-class:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
No entities with device classes.
|
|
||||||
entity-disabled-by-default:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
No entities disabled by default.
|
|
||||||
entity-translations: done
|
|
||||||
exception-translations: todo
|
|
||||||
icon-translations: done
|
|
||||||
reconfiguration-flow: done
|
|
||||||
repair-issues: done
|
|
||||||
stale-devices:
|
|
||||||
status: exempt
|
|
||||||
comment: |
|
|
||||||
Service integration, no devices.
|
|
||||||
|
|
||||||
# Platinum
|
|
||||||
async-dependency: done
|
|
||||||
inject-websession:
|
|
||||||
status: done
|
|
||||||
comment: |
|
|
||||||
Uses `httpx` session.
|
|
||||||
strict-typing: done
|
|
||||||
+2
-1
@@ -1,7 +1,8 @@
|
|||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
asyncio_mode = "auto"
|
asyncio_mode = "auto"
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
pythonpath = ["."]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
target-version = "py313"
|
target-version = "py314"
|
||||||
line-length = 88
|
line-length = 88
|
||||||
Reference in new issue
Block a user