Showing 2 of 2 total issues
Avoid deeply nested control flow statements. Open
Open
for f in files:
zip_file.write(os.path.join(root, f), os.path.relpath(os.path.join(root, f), path))
else:
- Create a ticketCreate a ticket
Consider simplifying this complex logical expression. Open
Open
if not (
args.default or args.threaded or args.modded or args.minimal or args.nopy or args.depth
):
print("Invalid combination of flags.")
exit(1)
- Create a ticketCreate a ticket