mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Prepare 0.4.0.dev3 (#172)
* 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
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.4.0
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
@@ -10,30 +10,30 @@ repos:
|
||||
- id: check-ast
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.10.1
|
||||
rev: v2.19.4
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ['--py36-plus']
|
||||
|
||||
- repo: https://github.com/python/black
|
||||
rev: 20.8b1
|
||||
rev: 21.6b0
|
||||
hooks:
|
||||
- id: black
|
||||
|
||||
- repo: https://gitlab.com/pycqa/flake8
|
||||
rev: 3.9.0
|
||||
rev: 3.9.2
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: [flake8-docstrings]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-isort
|
||||
rev: v5.7.0
|
||||
rev: v5.8.0
|
||||
hooks:
|
||||
- id: isort
|
||||
additional_dependencies: [toml]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.812
|
||||
rev: v0.902
|
||||
hooks:
|
||||
- id: mypy
|
||||
# args: [--no-strict-optional, --ignore-missing-imports]
|
||||
additional_dependencies: [types-click]
|
||||
|
Reference in New Issue
Block a user