
June 28, 2016
8:45 a.m.
On Tue, Jun 28, 2016 at 5:57 AM, Émanuel Barry <vgr255@live.ca> wrote:
From: Florian Bruhin Sent: Tuesday, June 28, 2016 6:52 AM Subject: Re: [code-quality] Change in unicode escape sequences
pylint already does:
$ cat x.py print("hello \world")
$ pylint x.py [...] W: 1, 0: Anomalous backslash in string: '\w'. String constant might be missing an r prefix. (anomalous-backslash-in-string) [...]
Florian
Great, that's one less thing to worry about :) What about the other ones? -Emanuel
I think pydocstyle does this for docstrings by default. PyFlakes might also be a good candidate but they try to have as few checks that could cause false positives as possible.