fix/hush some flake8 warnings
test_ipaddrs.py had an invalid regexp, caught by the latest version of flake8 The new flake8 complains about both W503 (line break inside a conditional before a binary operator) and W504 (line break *after* the operator). I think break-before is the new preferred style, but for now I'm just going to ignore them both and leave the code alone.
This commit is contained in:
parent
74da87bec2
commit
4e97bb041a
|
@ -7,7 +7,7 @@ from twisted.trial import unittest
|
|||
|
||||
from .. import ipaddrs
|
||||
|
||||
DOTTED_QUAD_RE = re.compile("^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$")
|
||||
DOTTED_QUAD_RE = re.compile(r"^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$")
|
||||
|
||||
MOCK_IPADDR_OUTPUT = """\
|
||||
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN \n\
|
||||
|
|
Loading…
Reference in New Issue
Block a user