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: Don't install patchconv in flake8 venv Created Oct. 11, 2017, 3:28 a.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-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') | patchconv/tox.ini » ('J')

Powered by Google App Engine
This is Rietveld