Skip to content

Commit 74c506c

Browse files
committed
Fix linter
1 parent 226194a commit 74c506c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frida_tools/repl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import hashlib
44
import json
55
import os
6-
import pathlib
76
import platform
87
import re
98
import shlex
@@ -43,7 +42,7 @@
4342
JS_LANGUAGE = Language(tree_sitter_javascript.language())
4443
ERROR_QUERY = Query(JS_LANGUAGE, "(_ (ERROR) @error)")
4544
MISSING_QUERY = Query(JS_LANGUAGE, "(_ (MISSING) @missing)")
46-
except Exception as err:
45+
except Exception:
4746
JS_LANGUAGE = None
4847
ERROR_QUERY = None
4948
MISSING_QUERY = None
@@ -69,7 +68,7 @@ def __init__(self) -> None:
6968

7069
try:
7170
self._parser = Parser(JS_LANGUAGE)
72-
except Exception as err:
71+
except Exception:
7372
self._parser = None
7473

7574
if self._have_terminal and not self._plain_terminal:

0 commit comments

Comments
 (0)