From 0bec88fb13db89bd51a102161617edd5478b6591 Mon Sep 17 00:00:00 2001 From: "shashank.b" Date: Mon, 8 Jan 2018 01:14:55 +0530 Subject: [PATCH] QuotesBear.py: Change CAN_DETECT to CAN_FIX This changes CAN_DETECT = {'Formatting'} to CAN_FIX = {'Formatting'} as the bear checks and corrects the quotation style. Closes https://github.com/coala/coala-bears/issues/1571 --- bears/general/QuotesBear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bears/general/QuotesBear.py b/bears/general/QuotesBear.py index 19ad628463..53d515a240 100644 --- a/bears/general/QuotesBear.py +++ b/bears/general/QuotesBear.py @@ -11,7 +11,7 @@ class QuotesBear(LocalBear): AUTHORS = {'The coala developers'} AUTHORS_EMAILS = {'coala-devel@googlegroups.com'} LICENSE = 'AGPL-3.0' - CAN_DETECT = {'Formatting'} + CAN_FIX = {'Formatting'} def correct_single_line_str(self, filename, file, sourcerange, preferred_quotation,