Merge pull request #28126 from Abdeali099/new-app-template-fixes

This commit is contained in:
Suraj Shetty 2024-11-05 12:47:37 +05:30 committed by GitHub
commit b629a58094
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: