OmniParser
OmniParser copied to clipboard
Remove Existing `__pycache__` Directories and Update `.gitignore` to handle `__pycache__` directory instead of `__pycache__` file
This PR closes #35 by addressing the issue of __pycache__
directories being present in the repository, despite being included in .gitignore
. The __pycache__
directories contain Python bytecode files (.pyc
) that are generated during runtime and are not necessary for the source code. These files can lead to unnecessary clutter and inconsistencies across environments.
Changes Made:
- Removed all existing
__pycache__
directories from the repository using:git rm -r --cached **/__pycache__
- Updated
.gitignore
to explicitly exclude the__pycache__/
directory (with a trailing slash) instead of just__pycache__
. The trailing slash ensures that only directories named__pycache__
are ignored, rather than files, which prevents any unintentional tracking of these runtime-generated directories in the future.