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

Unified Diff: flake8-eyeo/flake8_eyeo.py

Issue 29569634: Noissue - Added flake8-docstrings (codingtools) (Closed)
Patch Set: Rebased Created Oct. 10, 2017, 6:04 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
« no previous file with comments | « flake8-eyeo/README.md ('k') | flake8-eyeo/tests/A109.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flake8-eyeo/flake8_eyeo.py
===================================================================
--- a/flake8-eyeo/flake8_eyeo.py
+++ b/flake8-eyeo/flake8_eyeo.py
@@ -396,11 +396,9 @@
if first_token and re.search(r'^(?:(?:def|class)\s|$)',
previous_logical):
- if quote != '"""':
- yield (start, 'A109 use triple double '
- 'quotes for docstrings')
+ pass # Ignore docstrings
elif start[0] != end[0]:
- pass
+ pass # Ignore multiline strings
elif 'r' in prefixes:
if quote != "'" and not (quote == '"' and "'" in text):
yield (start, 'A110 use single quotes for raw string')
« no previous file with comments | « flake8-eyeo/README.md ('k') | flake8-eyeo/tests/A109.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld