style: remove unnecessary NOQA exceptions

This commit is contained in:
Todd Gamblin 2019-06-29 15:06:20 -07:00
parent 600f3c1104
commit 4189640ee8

View File

@ -825,15 +825,15 @@ def test_spec_formatting_escapes(self):
spec.format(fmt_str)
bad_formats = [
'{}',
'name}',
'\{name}', # NOQA: ignore=W605
'{name',
'{name\}', # NOQA: ignore=W605
'{_concrete}',
'{dag_hash}',
'{foo}',
'{+variants.debug}'
r'{}',
r'name}',
r'\{name}',
r'{name',
r'{name\}',
r'{_concrete}',
r'{dag_hash}',
r'{foo}',
r'{+variants.debug}'
]
for fmt_str in bad_formats: