mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 11:13:34 +00:00
Pin dependencies on major versions, add poetry.lock (#94)
* Pin dependencies on major versions, add poetry.lock * Fix linting
This commit is contained in:
parent
1cd1e84f78
commit
c59b748a06
@ -54,7 +54,9 @@ class _DiscoverProtocol(asyncio.DatagramProtocol):
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
if self.interface is not None:
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_BINDTODEVICE, self.interface.encode())
|
||||
sock.setsockopt(
|
||||
socket.SOL_SOCKET, socket.SO_BINDTODEVICE, self.interface.encode()
|
||||
)
|
||||
|
||||
self.do_discover()
|
||||
|
||||
|
1071
poetry.lock
generated
Normal file
1071
poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -19,24 +19,24 @@ importlib-metadata = "*"
|
||||
asyncclick = "^7"
|
||||
|
||||
# required only for docs
|
||||
sphinx = { version = "^3.1.1", optional = true }
|
||||
m2r = { version = "^0.2.1", optional = true }
|
||||
sphinx_rtd_theme = { version = "^0.5.0", optional = true }
|
||||
sphinxcontrib-programoutput = { version = "^0.16", optional = true }
|
||||
sphinx = { version = "^3", optional = true }
|
||||
m2r = { version = "^0", optional = true }
|
||||
sphinx_rtd_theme = { version = "^0", optional = true }
|
||||
sphinxcontrib-programoutput = { version = "^0", optional = true }
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
pytest = "^5"
|
||||
pytest-azurepipelines = "^0.8"
|
||||
pytest-cov = "^2.8"
|
||||
pytest-asyncio = "^0.12"
|
||||
pytest-azurepipelines = "^0"
|
||||
pytest-cov = "^2"
|
||||
pytest-asyncio = "^0"
|
||||
pytest-sugar = "*"
|
||||
pre-commit = "*"
|
||||
voluptuous = "*"
|
||||
toml = "*"
|
||||
tox = "*"
|
||||
pytest-mock = "^3.1.0"
|
||||
codecov = "^2.0"
|
||||
xdoctest = "^0.12"
|
||||
pytest-mock = "^3"
|
||||
codecov = "^2"
|
||||
xdoctest = "^0"
|
||||
|
||||
[tool.poetry.extras]
|
||||
docs = ["sphinx", "sphinx_rtd_theme", "m2r", "sphinxcontrib-programoutput"]
|
||||
|
Loading…
Reference in New Issue
Block a user