diff --git a/frappe/utils/boilerplate.py b/frappe/utils/boilerplate.py index bf95a624a9..5c1402f698 100644 --- a/frappe/utils/boilerplate.py +++ b/frappe/utils/boilerplate.py @@ -632,16 +632,64 @@ app_license = "{app_license}" """ -gitignore_template = """.DS_Store +gitignore_template = """# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class *.pyc -*.egg-info -*.swp -tags -node_modules -__pycache__""" +*.py~ -github_workflow_template = """ -name: CI +# Distribution / packaging +.Python +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +tags +MANIFEST + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Dependency directories +node_modules/ +jspm_packages/ + +# IDEs and editors +.vscode/ +.vs/ +.idea/ +.kdev4/ +*.kdev4 +*.DS_Store +*.swp +*.comp.js +.wnf-lang-status +*debug.log + +# Helix Editor +.helix/ + +# Aider AI Chat +.aider* +""" + +github_workflow_template = """name: CI on: push: @@ -827,8 +875,7 @@ ci: submodules: false """ -linter_workflow_template = """ -name: Linters +linter_workflow_template = """name: Linters on: pull_request: @@ -925,8 +972,7 @@ Pre-commit is configured to use the following tools for checking and formatting {app_license} """ -readme_ci_section = """ -### CI +readme_ci_section = """### CI This app can use GitHub Actions for CI. The following workflows are configured: