This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import pathspec | |
| from InquirerPy import inquirer | |
| from InquirerPy.validator import PathValidator | |
| def parse_gitignore(base_dir): | |
| gitignore_path = os.path.join(base_dir, ".gitignore") | |
| try: | |
| with open(gitignore_path, "r", encoding="utf-8") as f: |