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: Created Oct. 9, 2017, 1:53 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
@@ -397,11 +397,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
Sebastian Noack 2017/10/09 02:08:58 These are checked by flake8-docstrings now.
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') | flake8-eyeo/tox.ini » ('J')

Powered by Google App Engine
This is Rietveld