Merge pull request #28126 from Abdeali099/new-app-template-fixes
This commit is contained in:
commit
b629a58094
1 changed files with 58 additions and 12 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue