mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
0aa20f6cf9
* Prepare 0.4.0.dev3 Most notable changes: * Devices initialized by discovery are pre-initialized using the discovery response data, so no need for update() directly after discovery * Only the basic information is requested during discovery, as some HS110 and HS220 devices do not respond to multi-module queries * Fix mac address parsing for KL430 * Add support for KL125 color temperature ranges * Documentation updates! * add types-click for mypy hook * use generator expression for sum
40 lines
808 B
YAML
40 lines
808 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-docstring-first
|
|
- id: check-yaml
|
|
- id: debug-statements
|
|
- id: check-ast
|
|
|
|
- repo: https://github.com/asottile/pyupgrade
|
|
rev: v2.19.4
|
|
hooks:
|
|
- id: pyupgrade
|
|
args: ['--py36-plus']
|
|
|
|
- repo: https://github.com/python/black
|
|
rev: 21.6b0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
rev: 3.9.2
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-docstrings]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-isort
|
|
rev: v5.8.0
|
|
hooks:
|
|
- id: isort
|
|
additional_dependencies: [toml]
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v0.902
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies: [types-click]
|