style: remove unnecessary NOQA exceptions
This commit is contained in:
parent
600f3c1104
commit
4189640ee8
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user