Skip to content

Commit

Permalink
green_mode_core.py: Fix unnecessary import
Browse files Browse the repository at this point in the history
Removed the delayed import of function check_filename_prefix_postfix
as it was already been called once , hence delayed import was
unnecessary

Closes coala#300
  • Loading branch information
Ishaan29 committed Jan 6, 2019
1 parent 2d275a3 commit f72a275
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions coala_quickstart/green_mode/green_mode_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ def green_mode(project_dir: str, ignore_globs, bears, bear_settings_obj,
The maximum number of values to run the bear again and again for
a optional setting.
"""
from coala_quickstart.green_mode.filename_operations import (
check_filename_prefix_postfix)

ignore_globs.append(os.path.join(project_dir, '.git', '**'))
project_data = project_dir + os.sep + PROJECT_DATA

Expand Down

0 comments on commit f72a275

Please sign in to comment.