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

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

Issue 29340727: Noissue - Added flake8 extension accounting for our coding style and some other stuff (Closed)
Patch Set: Added README Created May 9, 2016, 1:43 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
Index: flake8-abp/tests/A109.py
===================================================================
new file mode 100644
--- /dev/null
+++ b/flake8-abp/tests/A109.py
@@ -0,0 +1,22 @@
+# A109
+'this doc string should use three double quotes'
+
+
+class Foo:
+ # A109
+ "this doc string should use three quotes"
+
+ def single(self):
+ # A109
+ '''this doc string should use double quotes'''
+
+ def unicode(self):
+ # A109
+ u"""this doc string must not be marked as unicode string"""
+
+ def raw(self):
+ # A109
+ r"""this doc string must not be marked as raw string"""
+
+ def correct(self):
+ """this doc string uses the right quotes"""
« flake8-abp/README.md ('K') | « flake8-abp/tests/A108.py ('k') | flake8-abp/tests/A110.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld