Skip to content

Commit 65f0e5c

Browse files
committed
IMPROVEMENT: setup.py pylint
1 parent 24168af commit 65f0e5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
try:
6565
shutil.copytree(TEMPLATES_SRC_DIR, TEMPLATES_DST_DIR)
6666
print("Directory tree copied successfully.")
67-
except FileExistsError as e:
67+
except FileExistsError:
6868
print(f"The destination directory '{TEMPLATES_DST_DIR}' already exists and cannot be overwritten.")
69-
except PermissionError as e:
69+
except PermissionError:
7070
print(f"Permission denied when trying to copy '{TEMPLATES_SRC_DIR}' to '{TEMPLATES_DST_DIR}'. Please check your permissions.")
7171
except Exception as e: # pylint: disable=broad-except
7272
print(f"An unexpected error occurred while copying the directory tree: {e}")

0 commit comments

Comments
 (0)