Skip to content

Commit ff77f7d

Browse files
committed
Fix type comments
Signed-off-by: Piotr <piotrzan@gmail.com>
1 parent 04d38aa commit ff77f7d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

killercoda_cli/cli.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
class FileOperation:
1111
"""
12-
# Define a type hint for the different types of file operations that can be performed.
13-
# This Union type allows for specifying the operation (as a string literal indicating the type of action),
14-
# and the required arguments for each operation type:
15-
# - 'makedirs': Create a new directory; requires the path of the directory.
16-
# - 'write_file': Write content to a file; requires the file path and the content to write.
17-
# - 'chmod': Change the file mode; requires the file path and the new mode (as an integer).
12+
Define a type hint for the different types of file operations that can be performed.
13+
This Union type allows for specifying the operation (as a string literal indicating the type of action),
14+
and the required arguments for each operation type:
15+
- 'makedirs': Create a new directory; requires the path of the directory.
16+
- 'write_file': Write content to a file; requires the file path and the content to write.
17+
- 'chmod': Change the file mode; requires the file path and the new mode (as an integer).
1818
1919
"""
2020

0 commit comments

Comments
 (0)