mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +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_BROADCAST, 1)
|
||||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||||
if self.interface is not None:
|
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()
|
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"
|
asyncclick = "^7"
|
||||||
|
|
||||||
# required only for docs
|
# required only for docs
|
||||||
sphinx = { version = "^3.1.1", optional = true }
|
sphinx = { version = "^3", optional = true }
|
||||||
m2r = { version = "^0.2.1", optional = true }
|
m2r = { version = "^0", optional = true }
|
||||||
sphinx_rtd_theme = { version = "^0.5.0", optional = true }
|
sphinx_rtd_theme = { version = "^0", optional = true }
|
||||||
sphinxcontrib-programoutput = { version = "^0.16", optional = true }
|
sphinxcontrib-programoutput = { version = "^0", optional = true }
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
pytest = "^5"
|
pytest = "^5"
|
||||||
pytest-azurepipelines = "^0.8"
|
pytest-azurepipelines = "^0"
|
||||||
pytest-cov = "^2.8"
|
pytest-cov = "^2"
|
||||||
pytest-asyncio = "^0.12"
|
pytest-asyncio = "^0"
|
||||||
pytest-sugar = "*"
|
pytest-sugar = "*"
|
||||||
pre-commit = "*"
|
pre-commit = "*"
|
||||||
voluptuous = "*"
|
voluptuous = "*"
|
||||||
toml = "*"
|
toml = "*"
|
||||||
tox = "*"
|
tox = "*"
|
||||||
pytest-mock = "^3.1.0"
|
pytest-mock = "^3"
|
||||||
codecov = "^2.0"
|
codecov = "^2"
|
||||||
xdoctest = "^0.12"
|
xdoctest = "^0"
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
docs = ["sphinx", "sphinx_rtd_theme", "m2r", "sphinxcontrib-programoutput"]
|
docs = ["sphinx", "sphinx_rtd_theme", "m2r", "sphinxcontrib-programoutput"]
|
||||||
|
Loading…
Reference in New Issue
Block a user