divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00223
[Bug 950369] [NEW] It would be nice to detect string templates that will break when interpolated
Public bug reported:
For example, code like this will break:
>>> "%(foo)" % {"foo": "bar"}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: incomplete format
It'd be awesome if Pyflakes told me about that kind of issue.
** Affects: pyflakes
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Pyflakes.
https://bugs.launchpad.net/bugs/950369
Title:
It would be nice to detect string templates that will break when
interpolated
Status in Pyflakes:
New
Bug description:
For example, code like this will break:
>>> "%(foo)" % {"foo": "bar"}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: incomplete format
It'd be awesome if Pyflakes told me about that kind of issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyflakes/+bug/950369/+subscriptions
Follow ups
References