Some release preparation janitoring (#432)

* Use myst-parser for readme.md doc injection

* Relax version pins

* Define bug tracker and doc links for pypi

* Update pre-commit hooks
This commit is contained in:
Teemu R
2023-02-18 22:09:35 +01:00
committed by GitHub
parent 016f4dfd19
commit 02c857d472
8 changed files with 626 additions and 419 deletions

View File

@@ -1,16 +1,8 @@
import logging
import re
from voluptuous import ( # type: ignore
REMOVE_EXTRA,
All,
Any,
Coerce,
Invalid,
Optional,
Range,
Schema,
)
from voluptuous import Coerce # type: ignore
from voluptuous import REMOVE_EXTRA, All, Any, Invalid, Optional, Range, Schema
from ..protocol import TPLinkSmartHomeProtocol
@@ -467,7 +459,6 @@ class FakeTransportProtocol(TPLinkSmartHomeProtocol):
child_ids = []
def get_response_for_module(target):
if target not in proto.keys():
return error(msg="target not found")

View File

@@ -108,7 +108,6 @@ async def test_all_binary_states(dev):
# toggle each outlet with state map applied
for plug_index in range(len(dev.children)):
# toggle state
if state_map[plug_index]:
await dev.turn_off(index=plug_index)