Skip to content

Commit

Permalink
QuotesBear.py: Change CAN_DETECT to CAN_FIX
Browse files Browse the repository at this point in the history
This changes CAN_DETECT = {'Formatting'} to
CAN_FIX = {'Formatting'} as the bear checks
and corrects the quotation style.

Closes coala#1571
  • Loading branch information
shashank-b authored and gitmate-bot committed Jan 8, 2018
1 parent 7c2e7a3 commit 0bec88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bears/general/QuotesBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class QuotesBear(LocalBear):
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'[email protected]'}
LICENSE = 'AGPL-3.0'
CAN_DETECT = {'Formatting'}
CAN_FIX = {'Formatting'}

def correct_single_line_str(self, filename, file, sourcerange,
preferred_quotation,
Expand Down

0 comments on commit 0bec88f

Please sign in to comment.