diff --git a/pyproject.toml b/pyproject.toml index 195be69..b7f25c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,7 +58,7 @@ commands = pytest test/ --cov={toxinidir}/simple_message_channels/ --no-cov-on-f [testenv:lint] skipdist = True deps = flake8 -commands = flake8 {posargs:--max-line-length 80} simple_message_channels/ test/ +commands = flake8 {posargs:--max-line-length 80} --ignore="E203" simple_message_channels/ test/ [testenv:sort] skipdist = True diff --git a/simple_message_channels/smc.py b/simple_message_channels/smc.py index 06a2e28..60ad387 100644 --- a/simple_message_channels/smc.py +++ b/simple_message_channels/smc.py @@ -1,5 +1,5 @@ """Sans I/O wire protocol for Hypercore""" -from typing import List, Optional, Tuple +from typing import List, Tuple import attr from pyvarint import encode, encoding_length diff --git a/test/conftest.py b/test/conftest.py index 586f19c..2d09c66 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -1,4 +1,5 @@ import pytest + from simple_message_channels import SimpleMessageChannel as SMC