Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: flake8-abp/tests/A112.py

Issue 29342824: Issue 4044 - Added handling for __future__ unicode_literals import to check_quotes() (Closed)
Patch Set: Updates readme for clarity, moves unicode prefix check out of single line and docstring if statemen… Created May 26, 2016, 9:17 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« flake8-abp/flake8_abp.py ('K') | « flake8-abp/tests/A110_unicode_literals.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flake8-abp/tests/A112.py
===================================================================
new file mode 100644
--- /dev/null
+++ b/flake8-abp/tests/A112.py
@@ -0,0 +1,11 @@
+class Foo:
+ def unicode(self):
+ # A112
+ u"""This should not be a unicode docstring"""
Sebastian Noack 2016/05/27 12:33:48 This test code can be simplified by using a functi
+
+
+def foo():
+ return [
Sebastian Noack 2016/05/27 12:33:48 This test code can b e simplified by just returnin
+ # A112
+ u'yeahyeah'
+ ]
« flake8-abp/flake8_abp.py ('K') | « flake8-abp/tests/A110_unicode_literals.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld