mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Add WallSwitch device type and autogenerate supported devices docs (#758)
This commit is contained in:
@@ -27,3 +27,14 @@ repos:
|
||||
hooks:
|
||||
- id: doc8
|
||||
additional_dependencies: [tomli]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: generate-supported
|
||||
name: Generate supported devices
|
||||
description: This hook generates the supported device sections of README.md and SUPPORTED.md
|
||||
entry: devtools/generate_supported.py
|
||||
language: system # Required or pre-commit creates a new venv
|
||||
verbose: true # Show output on success
|
||||
types: [json]
|
||||
pass_filenames: false # passing filenames causes the hook to run in batches against all-files
|
||||
|
Reference in New Issue
Block a user