Skip to content

Commit 9a5c765

Browse files
committed
add copyright
1 parent f9c4454 commit 9a5c765

8 files changed

Lines changed: 48 additions & 23 deletions

File tree

source/template/launcher.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/usr/bin/env python3
2+
3+
# Copyright (c) Laserfiche.
4+
# Licensed under the MIT License. See LICENSE in the project root for license information.
5+
26
import sys
37

48
from utility.lf_arg_parser.src.lf_arg_parser import get_argument_map

source/template/src/mirror.py

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
from typing import Dict
2-
3-
4-
def YourScriptMethod(inputs: Dict[str, str]) -> Dict[str, str]:
5-
"""
6-
The main function for your script.
7-
8-
:param inputs: An object representing the input parameters passed to the script.
9-
:type inputs: dict[str, str]
10-
:return: An object representing the output parameters returned by the script.
11-
:rtype: dict[str, str]
12-
"""
13-
14-
# Retrieve your input parameters from process.argv after parser
15-
outputs: Dict[str, str] = {}
16-
for key, value in inputs.items():
17-
outputs[key] = value
18-
19-
# Other tasks for your script can be performed here
20-
# ...
21-
22-
# Return your output parameters to the caller
23-
return outputs
1+
# Copyright (c) Laserfiche.
2+
# Licensed under the MIT License. See LICENSE in the project root for license information.
3+
4+
from typing import Dict
5+
6+
7+
def YourScriptMethod(inputs: Dict[str, str]) -> Dict[str, str]:
8+
"""
9+
The main function for your script.
10+
11+
:param inputs: An object representing the input parameters passed to the script.
12+
:type inputs: dict[str, str]
13+
:return: An object representing the output parameters returned by the script.
14+
:rtype: dict[str, str]
15+
"""
16+
17+
# Retrieve your input parameters from process.argv after parser
18+
outputs: Dict[str, str] = {}
19+
for key, value in inputs.items():
20+
outputs[key] = value
21+
22+
# Other tasks for your script can be performed here
23+
# ...
24+
25+
# Return your output parameters to the caller
26+
return outputs

source/template/test/test_mirror.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Laserfiche.
2+
# Licensed under the MIT License. See LICENSE in the project root for license information.
3+
14
import pytest
25
from ..src.mirror import YourScriptMethod
36

source/word_translator/launcher.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/env python3
22

3+
# Copyright (c) Laserfiche.
4+
# Licensed under the MIT License. See LICENSE in the project root for license information.
5+
36
import sys
47

58
from utility.lf_arg_parser.src.lf_arg_parser import get_argument_map

source/word_translator/src/translator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Laserfiche.
2+
# Licensed under the MIT License. See LICENSE in the project root for license information.
3+
14
from translate import Translator
25

36

source/word_translator/test/test_translator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Laserfiche.
2+
# Licensed under the MIT License. See LICENSE in the project root for license information.
3+
14
import pytest
25
from ..src.translator import translate
36

utility/lf_arg_parser/src/lf_arg_parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Laserfiche.
2+
# Licensed under the MIT License. See LICENSE in the project root for license information.
3+
14
import sys
25

36

utility/lf_arg_parser/test/test_lf_arg_parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright (c) Laserfiche.
2+
# Licensed under the MIT License. See LICENSE in the project root for license information.
3+
14
import pytest
25
from ..src.lf_arg_parser import get_argument_map
36

0 commit comments

Comments
 (0)