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) spec.format(fmt_str)
bad_formats = [ bad_formats = [
'{}', r'{}',
'name}', r'name}',
'\{name}', # NOQA: ignore=W605 r'\{name}',
'{name', r'{name',
'{name\}', # NOQA: ignore=W605 r'{name\}',
'{_concrete}', r'{_concrete}',
'{dag_hash}', r'{dag_hash}',
'{foo}', r'{foo}',
'{+variants.debug}' r'{+variants.debug}'
] ]
for fmt_str in bad_formats: for fmt_str in bad_formats: