Initial commit
This commit is contained in:
+185
@@ -0,0 +1,185 @@
|
||||
# ==============================================================================
|
||||
# Created by https://gitignores.com/
|
||||
# COMPREHENSIVE FRAMEWORK TEMPLATE for Flask
|
||||
# Website: https://flask.palletsprojects.com/
|
||||
# Repository: https://github.com/pallets/flask
|
||||
# ==============================================================================
|
||||
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# TEMPLATE OVERVIEW & USAGE NOTES
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# • TEMPLATE TYPE: COMPREHENSIVE FRAMEWORK TEMPLATE
|
||||
# • PURPOSE: Complete Flask Python web framework patterns for web applications and development artifacts
|
||||
# • DESIGN PHILOSOPHY: Self-contained with all Flask and Python-specific patterns
|
||||
# • COMBINATION GUIDANCE: Use standalone; optionally add IDE/OS templates
|
||||
# • SECURITY CONSIDERATIONS: Includes security patterns for .env files and credentials
|
||||
# • BEST PRACTICES: Review patterns before use, test with git check-ignore, customize for your project
|
||||
# • OFFICIAL SOURCES: Flask documentation and community best practices
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# SECURITY & SENSITIVE DATA PROTECTION (ALWAYS FIRST!)
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# CRITICAL: Protect sensitive data from accidental commits to version control
|
||||
|
||||
*.crt
|
||||
*.key
|
||||
*.keystore
|
||||
*.pem
|
||||
*.secret
|
||||
*.token
|
||||
*_keys
|
||||
*_secrets
|
||||
*_tokens
|
||||
.env
|
||||
.env.*
|
||||
.env.*.local
|
||||
.env.local
|
||||
id_dsa
|
||||
id_rsa
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# BUILD ARTIFACTS & DISTRIBUTION
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
|
||||
*.egg
|
||||
*.egg-info/
|
||||
*.so
|
||||
*.tar.gz
|
||||
*.whl
|
||||
*.zip
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# DEPENDENCY MANAGEMENT & PACKAGE CACHE
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
|
||||
.cache/
|
||||
.eggs/
|
||||
.pybuilder/
|
||||
.python-eggs/
|
||||
.venv
|
||||
__pypackages__/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
docs/_build/
|
||||
eggs/
|
||||
env.bak/
|
||||
ENV/
|
||||
parts/
|
||||
pip-wheel-metadata/
|
||||
profile_default/
|
||||
sdist/
|
||||
share/python-wheels/
|
||||
venv.bak/
|
||||
venv/
|
||||
wheels/
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# DEVELOPMENT & RUNTIME ARTIFACTS
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
|
||||
*.log
|
||||
*.log.*
|
||||
.dmypy.json
|
||||
.mypy_cache/
|
||||
.nox/
|
||||
.pyre/
|
||||
.pytest_cache/
|
||||
.pytype/
|
||||
.tox/
|
||||
dmypy.json
|
||||
pip-delete-this-directory.txt
|
||||
pip-log.txt
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# FRAMEWORK-SPECIFIC PATTERNS
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
|
||||
*.cer
|
||||
*.csr
|
||||
*.der
|
||||
*.jks
|
||||
*.manifest
|
||||
*.nupkg
|
||||
*.o
|
||||
*.obj
|
||||
*.p12
|
||||
*.p7b
|
||||
*.p7c
|
||||
*.pfx
|
||||
*.pid
|
||||
*.pid.lock
|
||||
*.py[co]
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.spec
|
||||
*.tgz
|
||||
*.truststore
|
||||
.Python
|
||||
.flask-debug
|
||||
.python-version
|
||||
.flaskenv
|
||||
.installed.cfg
|
||||
cython_debug/
|
||||
downloads/
|
||||
instance/
|
||||
ipython_config.py
|
||||
lib/
|
||||
lib64/
|
||||
MANIFEST
|
||||
out/
|
||||
pdm.toml
|
||||
.webassets-cache
|
||||
var/
|
||||
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
# TESTING & QUALITY ASSURANCE
|
||||
# ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
|
||||
|
||||
.coverage
|
||||
.coverage.*
|
||||
.coverage.xml
|
||||
.coverage_html/
|
||||
.hypothesis/
|
||||
.nyc_output/
|
||||
htmlcov/
|
||||
junit.xml
|
||||
nosetests.xml
|
||||
test-output/
|
||||
test-reports/
|
||||
test-results/
|
||||
testng-results.xml
|
||||
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# TEMPLATE CUSTOMIZATION & BEST PRACTICES
|
||||
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
# 1. REVIEW: Examine all patterns before use
|
||||
# 2. CUSTOMIZE: Adapt to your project's specific structure
|
||||
# 3. TEST: Use `git check-ignore` to verify patterns
|
||||
# 4. SECURE: Always protect sensitive data and credentials
|
||||
# 5. UPDATE: Review periodically as technology evolves
|
||||
|
||||
# RECOMMENDED USAGE PATTERNS:
|
||||
# ==============================================================================
|
||||
#
|
||||
# BASIC USAGE (STANDALONE):
|
||||
# -------------------------
|
||||
# cp frameworks/flask.gitignore .gitignore
|
||||
#
|
||||
# WITH IDE SUPPORT:
|
||||
# ----------------
|
||||
# cat frameworks/flask.gitignore \
|
||||
# ides/intellij.gitignore | sort -u > .gitignore
|
||||
#
|
||||
# CROSS-PLATFORM DEVELOPMENT:
|
||||
# ---------------------------
|
||||
# cat frameworks/flask.gitignore \
|
||||
# os/linux.gitignore \
|
||||
# os/macos.gitignore \
|
||||
# os/windows.gitignore | sort -u > .gitignore
|
||||
#
|
||||
# IMPORTANT NOTES:
|
||||
# ==============================================================================
|
||||
# 1. This template is self-contained and includes security patterns
|
||||
# 2. No need to add common/security.gitignore separately
|
||||
# 3. Test with `git status --ignored` to ensure proper coverage
|
||||
Reference in New Issue
Block a user