Skip to content

Commit 28f276d

Browse files
authored
Skipping unsafe code handler.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
1 parent 2b08f4f commit 28f276d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

handlers/unsafe/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
class UnsafeHandler(EventHandler):
1111
def on_pr_opened(self, api, payload):
12+
return
1213
for line in api.get_added_lines():
1314
if line.find('unsafe ') > -1:
1415
self.warn(unsafe_warning_msg)

0 commit comments

Comments
 (0)