File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -320,5 +320,3 @@ def create_default_ark_config(workspace_dir: str) -> bool:
320320 except Exception as e :
321321 print (f"Warning: Failed to create ARK_Main_Config.yml: { e } " )
322322 return False
323-
324-
Original file line number Diff line number Diff line change @@ -243,7 +243,30 @@ def suggest_missing_dependencies(self):
243243 for f in files
244244 if not os .path .commonpath ([os .path .abspath (f ), venv_dir ]) == venv_dir
245245 and not any (
246- part .startswith ("." ) or part == "__pycache__" for part in f .split (os .sep )
246+ part .startswith ("." )
247+ or part
248+ == (
249+ "**/__pycache__/**" ,
250+ "**/*.pyc" ,
251+ "**/*.pyo" ,
252+ "**/*.pyd" ,
253+ ".git/**" ,
254+ ".svn/**" ,
255+ ".hg/**" ,
256+ "venv/**" ,
257+ ".venv/**" ,
258+ "env/**" ,
259+ ".env/**" ,
260+ "node_modules/**" ,
261+ "build/**" ,
262+ "dist/**" ,
263+ "*.egg-info/**" ,
264+ ".pytest_cache/**" ,
265+ ".mypy_cache/**" ,
266+ ".tox/**" ,
267+ "site-packages/**" ,
268+ )
269+ for part in f .split (os .sep )
247270 )
248271 ]
249272
You can’t perform that action at this time.
0 commit comments