Skip to content

Commit d8ee6fe

Browse files
Update bot/exts/smart_eval/_smart_eval_rules.py
Co-authored-by: Vivek Ashokkumar <[email protected]>
1 parent 5c5a066 commit d8ee6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/exts/smart_eval/_smart_eval_rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
r"(?m:^\s*raise\s*)": [ # Detect raise
8282
"Wondering why you're getting errors? You're literally using `raise`, just get rid of that!",
8383
],
84-
r"(?m:^\s*(?:import|from)\s+threading\s*$)": [ # Detect threading import
84+
r"(?m:^\s*(?:import|from)\s+threading)": [ # Detect threading import
8585
"Uh-oh, your threads have jumbled up my brain!",
8686
"have jumbled up my Uh-oh, threads brain! your",
8787
"my up jumbled your brain! have Uh-oh, threads",

0 commit comments

Comments
 (0)