Skip to content

Commit 0b32f8a

Browse files
committed
Update both version
Update exception tags
1 parent 98d4411 commit 0b32f8a

3 files changed

Lines changed: 22 additions & 17 deletions

File tree

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
1-
token_is_exist: str = "token file is exists"
1+
token_is_exist: str = "token file already exists"
2+
23
# Callback executor
3-
get_bad_trigger_method: str = "get bad trigger method, only accept kwargs and args"
4-
get_bad_trigger_function: str = "get bad trigger function only accept function in event_dict"
4+
get_bad_trigger_method: str = "invalid trigger method: only kwargs and args accepted"
5+
get_bad_trigger_function: str = "invalid trigger function: only functions in event_dict accepted"
6+
57
# add command
6-
add_command_exception: str = "command value type should be as method or function"
8+
add_command_exception: str = "command value type must be a method or function"
9+
710
# executor
8-
executor_list_error: str = "executor receive wrong data list is none or wrong type"
11+
executor_list_error: str = "executor received invalid data: list is empty or of wrong type"
12+
913
# json tag
10-
cant_execute_action_error: str = "cant execute action"
11-
cant_generate_json_report: str = "can't generate json report"
12-
cant_find_json_error: str = "cant find json file"
13-
cant_save_json_error: str = "cant save json file"
14-
action_is_null_error: str = "json action is null"
14+
cant_execute_action_error: str = "can't execute action"
15+
cant_generate_json_report: str = "can't generate JSON report"
16+
cant_find_json_error: str = "can't find JSON file"
17+
cant_save_json_error: str = "can't save JSON file"
18+
action_is_null_error: str = "JSON action is null"
19+
1520
# argparse
16-
argparse_get_wrong_data: str = "argparse receive wrong data"
21+
argparse_get_wrong_data: str = "argparse received invalid data"

stable.toml renamed to dev.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ requires = ["setuptools>=61.0"]
55
build-backend = "setuptools.build_meta"
66

77
[project]
8-
name = "automation_file"
9-
version = "0.0.27"
8+
name = "automation_file_dev"
9+
version = "0.0.30"
1010
authors = [
1111
{ name = "JE-Chen", email = "zenmailman@gmail.com" },
1212
]
1313
description = ""
1414
readme = { file = "README.md", content-type = "text/markdown" }
1515
requires-python = ">=3.10"
16-
license-files = ["LICENSE"]
16+
license = { text = "MIT" }
1717
dependencies = [
1818
"google-api-python-client",
1919
"google-auth-httplib2",

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ requires = ["setuptools>=61.0"]
55
build-backend = "setuptools.build_meta"
66

77
[project]
8-
name = "automation_file_dev"
9-
version = "0.0.29"
8+
name = "automation_file"
9+
version = "0.0.28"
1010
authors = [
1111
{ name = "JE-Chen", email = "zenmailman@gmail.com" },
1212
]
1313
description = ""
1414
readme = { file = "README.md", content-type = "text/markdown" }
1515
requires-python = ">=3.10"
16-
license = { text = "MIT" }
16+
license-files = ["LICENSE"]
1717
dependencies = [
1818
"google-api-python-client",
1919
"google-auth-httplib2",

0 commit comments

Comments
 (0)