Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit 35a06cd

Browse files
author
Tanakiat Srisaranyakul
committed
rename noralize_cell to normalize_cell
get rid of unnecessary print
1 parent 56ee229 commit 35a06cd

File tree

12 files changed

+11
-15
lines changed

12 files changed

+11
-15
lines changed

command_helper/get_documentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
try:
44
from parser_utils.file_formatter import rf_table_name
55
from parser_utils.util import get_index_name, normalise_path
6-
from noralize_cell import get_data_from_json
6+
from normalize_cell import get_data_from_json
77
from db_json_settings import DBJsonSetting
88
from utils.util import kw_equals_kw_candite
99
except:
1010
from ..dataparser.parser_utils.file_formatter import rf_table_name
1111
from ..dataparser.parser_utils.util import get_index_name, normalise_path
12-
from ..command_helper.noralize_cell import get_data_from_json
12+
from ..command_helper.normalize_cell import get_data_from_json
1313
from ..setting.db_json_settings import DBJsonSetting
1414
from ..command_helper.utils.util import kw_equals_kw_candite
1515

command_helper/get_keyword.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
try:
55
from get_documentation import GetKeywordDocumentation
66
from db_json_settings import DBJsonSetting
7-
from noralize_cell import get_data_from_json
7+
from normalize_cell import get_data_from_json
88
from utils.util import kw_equals_kw_candite
99
except:
1010
from .get_documentation import GetKeywordDocumentation
1111
from ..setting.db_json_settings import DBJsonSetting
12-
from ..command_helper.noralize_cell import get_data_from_json
12+
from ..command_helper.normalize_cell import get_data_from_json
1313
from ..command_helper.utils.util import kw_equals_kw_candite
1414

1515

command_helper/jump_to_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
try:
55
from parser_utils.file_formatter import lib_table_name
6-
from noralize_cell import get_data_from_json
6+
from normalize_cell import get_data_from_json
77
except ImportError:
88
from ..dataparser.parser_utils.file_formatter import lib_table_name
9-
from .noralize_cell import get_data_from_json
9+
from .normalize_cell import get_data_from_json
1010

1111

1212
class JumpToFile(object):
File renamed without changes.

command_helper/workspace_objects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from os import listdir, path
22
try:
3-
from .noralize_cell import get_data_from_json
3+
from .normalize_cell import get_data_from_json
44
from db_json_settings import DBJsonSetting
55
except:
6-
from ..command_helper.noralize_cell import get_data_from_json
6+
from ..command_helper.normalize_cell import get_data_from_json
77
from ..setting.db_json_settings import DBJsonSetting
88

99

commands/jump_to_keyword.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from ..command_helper.get_keyword import GetKeyword
77
from ..command_helper.get_metadata import get_rf_table_separator
88
from ..command_helper.jump_to_file import JumpToFile
9-
from ..command_helper.noralize_cell import ReturnKeywordAndObject
9+
from ..command_helper.normalize_cell import ReturnKeywordAndObject
1010
from ..command_helper.utils.get_text import get_line
1111
from ..setting.setting import get_setting
1212
from ..setting.setting import SettingObject

commands/query_completions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def return_completions(self, view, prefix, locations):
4646
# workspace = get_setting(SettingObject.workspace)
4747
open_tab = view.file_name()
4848
index_file = get_index_file(open_tab)
49-
print(view, prefix, index_file)
5049
if index_file:
5150
return self.get_completions(view, prefix, index_file)
5251
else:

commands/show_documentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from ..setting.setting import SettingObject
55
from .query_completions import get_index_file
66
from ..command_helper.utils.get_text import get_line
7-
from ..command_helper.noralize_cell import ReturnKeywordAndObject
7+
from ..command_helper.normalize_cell import ReturnKeywordAndObject
88
from ..command_helper.get_metadata import get_rf_table_separator
99
from ..command_helper.get_documentation import GetKeywordDocumentation
1010

dataparser/parser_utils/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from os import path
2-
import glob
32

43
def normalise_path(f_path):
54
dirname = path.abspath(path.dirname(f_path))

test/acceptance/variable_files/library_vars.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import copy
44
import inspect
55
import robot.libraries.Screenshot
6-
import glob
76

87
def get_variables():
98
root_dir = path.dirname(path.abspath(__file__))

0 commit comments

Comments
 (0)