Permalink
Browse files

bears: Use coala-utils for string processing

  • Loading branch information...
arafsheikh committed Jul 18, 2016
1 parent d024ce5 commit 359afc5c751b5e9cb7948f81b02ccc64e9b0e5fe
@@ -8,9 +8,9 @@
ClangCountVectorCreator)
from bears.c_languages.codeclone_detection.CloneDetectionRoutines import (
compare_functions, get_count_matrices)
from coala_utils.string_processing.StringConverter import StringConverter
from coalib.bears.GlobalBear import GlobalBear
from coalib.collecting.Collectors import collect_dirs
from coalib.misc.StringConverter import StringConverter
from coalib.results.HiddenResult import HiddenResult
from coalib.settings.Setting import path_list, typed_ordered_dict
@@ -1,5 +1,5 @@
from coalib.parsing.StringProcessing.Core import (unescaped_search_in_between,
unescaped_search_for)
from coala_utils.string_processing.Core import (unescaped_search_in_between,
unescaped_search_for)
from coalib.bearlib.languages.LanguageDefinition import LanguageDefinition
from coalib.bears.LocalBear import LocalBear
from coalib.results.HiddenResult import HiddenResult
@@ -1,5 +1,5 @@
from coala_utils.string_processing.Core import unescaped_search_for
from coalib.bears.LocalBear import LocalBear
from coalib.parsing.StringProcessing.Core import unescaped_search_for
from coalib.bearlib.languages.LanguageDefinition import LanguageDefinition
from coalib.results.SourceRange import SourceRange
from coalib.results.Result import Result, RESULT_SEVERITY
@@ -1,5 +1,4 @@
from coalib.parsing.StringProcessing import escape
from coala_utils.string_processing.Core import escape
from coalib.bearlib.abstractions.Linter import linter
from coalib.results.RESULT_SEVERITY import RESULT_SEVERITY
@@ -1,6 +1,6 @@
from coala_utils.string_processing.Core import escape
from coalib.bearlib.abstractions.Linter import linter
from coalib.bearlib.spacing.SpacingHelper import SpacingHelper
from coalib.parsing.StringProcessing import escape
def _map_to_r_bool(py_bool):
@@ -3,12 +3,12 @@
import os
from bears.general.AnnotationBear import AnnotationBear
from coala_utils.string_processing.Core import escape
from coalib.results.SourceRange import SourceRange
from coalib.results.AbsolutePosition import AbsolutePosition
from coalib. results.HiddenResult import HiddenResult
from coalib.settings.Section import Section
from coalib.settings.Setting import Setting
from coalib.parsing.StringProcessing.Core import escape
from tests.LocalBearTestHelper import execute_bear
@@ -4,9 +4,9 @@
from bears.general.IndentationBear import IndentationBear
from bears.general.AnnotationBear import AnnotationBear
from coala_utils.string_processing.Core import escape
from coalib.settings.Section import Section
from coalib.settings.Setting import Setting
from coalib.parsing.StringProcessing.Core import escape
class IndentationBearTest(unittest.TestCase):
@@ -9,11 +9,11 @@
from tests.BearTestHelper import generate_skip_decorator
from bears.vcs.git.GitCommitBear import GitCommitBear
from coala_utils.string_processing.Core import escape
from coalib.misc.Shell import run_shell_command
from coalib.settings.ConfigurationGathering import get_config_directory
from coalib.settings.Section import Section
from coalib.settings.Setting import Setting
from coalib.parsing.StringProcessing import escape
@generate_skip_decorator(GitCommitBear)

0 comments on commit 359afc5

Please sign in to comment.