Skip to content

Commit be88b6f

Browse files
committed
feat(ai): exclude another file
1 parent 9c711ce commit be88b6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ai/analyzer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ def detect_language(path: str):
7171
return "text"
7272
if "_virtualenv.py" in path:
7373
return "text"
74+
if "activate_this.py" in path:
75+
return "text"
7476
ext = Path(path).suffix.lower()
7577
return EXT_LANG.get(ext, "text")
7678

0 commit comments

Comments
 (0)