| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| (no file at all) | |
| 1 # A109 | 1 # A109 |
| 2 'this doc string should use three double quotes' | 2 'this doc string should use three double quotes' |
| 3 | 3 |
| 4 | 4 |
| 5 class Foo: | 5 class Foo: |
| 6 # A109 | 6 # A109 |
| 7 "this doc string should use three quotes" | 7 "this doc string should use three quotes" |
| 8 | 8 |
| 9 def single(self): | 9 def single(self): |
| 10 # A109 | 10 # A109 |
| 11 '''this doc string should use double quotes''' | 11 '''this doc string should use double quotes''' |
| 12 | 12 |
| 13 def unicode(self): | |
| 14 # A109 | |
| 15 u"""this doc string must not be marked as unicode string""" | |
| 16 | |
| 17 def raw(self): | |
| 18 # A109 | |
| 19 r"""this doc string must not be marked as raw string""" | |
| 20 | |
| 21 def correct(self): | 13 def correct(self): |
| 22 """this doc string uses the right quotes""" | 14 """this doc string uses the right quotes""" |
| LEFT | RIGHT |