PraneshJs commited on
Commit
4194f1c
·
verified ·
1 Parent(s): 0b3b4ca

added more import file and directory names

Browse files
Files changed (1) hide show
  1. github_analyzer.py +2 -2
github_analyzer.py CHANGED
@@ -11,8 +11,8 @@ def extract_repo_name(url):
11
 
12
  def is_important_file(path):
13
  ignored_dirs = ["node_modules", "test", "__tests__", ".git", "build", ".next", ".vscode"]
14
- important_dirs = ["src", "components", "pages", "hooks", "controller", "service"]
15
- important_exts = [".py", ".js", ".ts", ".jsx", ".tsx", ".java"]
16
 
17
  if any(ignored in path for ignored in ignored_dirs):
18
  return False
 
11
 
12
  def is_important_file(path):
13
  ignored_dirs = ["node_modules", "test", "__tests__", ".git", "build", ".next", ".vscode"]
14
+ important_dirs = ["src", "components", "pages", "hooks", "controller", "service", "frontend", "backend", "db", "database", "api", "ui", "models", "config", "scripts", "static", "templates","utils", "lib", "middleware", "tests", "styles", "public"]
15
+ important_exts = [".py", ".js", ".ts", ".jsx", ".tsx", ".java", ".go", ".html", ".php", "Dockerfile", ".env.example",".dart",".cpp",".c",".php", ".css", ".scss", ".json", ".yaml", ".yml", ".md",".sh", ".bat", ".ps1", ".cpp", ".c", ".h", ".hpp",".ipynb", ".onnx", ".pb", ".tflite", "Dockerfile", "Makefile",".gradle", ".jar", ".war"]
16
 
17
  if any(ignored in path for ignored in ignored_dirs):
18
  return False