We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ad874f commit aa74f1fCopy full SHA for aa74f1f
search_query/cli.py
@@ -35,7 +35,7 @@ def _cmd_translate(args: argparse.Namespace) -> int:
35
print(f"Converting from {search_file.platform} to {args.target}")
36
try:
37
translated_query = query.translate(args.target)
38
- except Exception as e: # pylint: disble=broad-exception-caught
+ except Exception as e: # pylint: disable=broad-exception-caught
39
print(f"Error translating query: {e}")
40
return 1
41
@@ -61,6 +61,9 @@ def _lint(args: argparse.Namespace) -> int:
61
print(f"Error linting file {file_path}: {e}")
62
exit_code = 1
63
64
+ if exit_code == 0:
65
+ print(f"File {file_path} linted successfully.")
66
+
67
return exit_code
68
69
0 commit comments