From 422ec17425785a646d213b2f64caeddb608477db Mon Sep 17 00:00:00 2001 From: Matthew Dapena-Tretter Date: Wed, 7 Jan 2015 17:30:08 -0500 Subject: [PATCH] Extract pep257 docstring errors This updates the error regex to match pep257 (D###) errors. --- lib/linter-flake8.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter-flake8.coffee b/lib/linter-flake8.coffee index 5ef8b19..0b4806c 100644 --- a/lib/linter-flake8.coffee +++ b/lib/linter-flake8.coffee @@ -13,7 +13,7 @@ class LinterFlake8 extends Linter # A regex pattern used to extract information from the executable's output. regex: - '(.*?):(?\\d+):(?\\d+): (?((?E11|E9)|(?W|E|F4|F84|N*|C)|F)\\d+ .*?)\r?\n' + '(.*?):(?\\d+):(?\\d+): (?((?E11|E9)|(?W|E|F4|F84|N*|C|D)|F)\\d+ .*?)\r?\n' constructor: (editor)-> super(editor)