Pin dependencies on major versions, add poetry.lock (#94)

* Pin dependencies on major versions, add poetry.lock

* Fix linting
This commit is contained in:
Teemu R 2020-07-29 19:28:00 +02:00 committed by GitHub
parent 1cd1e84f78
commit c59b748a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1084 additions and 11 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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"]