Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
212 changes: 212 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
# Docker ignore file for python-project-template
# Optimized for minimal context and security

# Version control
.git/
.gitignore
.gitattributes

# Development files
.vscode/
.idea/
*.swp
*.swo
*~

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
docs/tests/
docs/coverage/
docs/mutation/

# Translations
*.mo
*.pot

# Django stuff
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff
instance/
.webassets-cache

# Scrapy stuff
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# poetry
poetry.lock

# pdm
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
.idea/

# Project specific
docs/api/
docs/tests/
docs/coverage/
docs/mutation/
.mutmut-cache/
mutants/
*.db
*.sqlite
*.sqlite3

# Docker
.dockerignore
Dockerfile*
docker-compose*.yml

# CI/CD
.github/
.gitlab-ci.yml
.travis.yml
.circleci/

# Package managers
node_modules/
package-lock.json
yarn.lock

# Logs
*.log
logs/

# Temporary files
tmp/
temp/
.tmp/

# Security
.secrets
credentials.json
*.pem
*.key
*.crt

# Backup files
*.bak
*.backup
*.old
72 changes: 72 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
version: 2
# SECURITY: Automated dependency updates with security-focused grouping
updates:
# Enable version updates for Python packages
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "UTC"
# Group related updates into a single PR
groups:
dev-dependencies:
patterns:
- "pytest*"
- "ruff*"
- "mypy*"
- "pyright*"
- "black*"
- "bandit*"
- "safety*"
- "detect-secrets*"
- "taskipy*"
- "pdoc*"
- "hypothesis*"
- "mutmut*"
update-types:
- "minor"
- "patch"
security-updates:
patterns:
- "*"
update-types:
- "security"
# Configuration options
open-pull-requests-limit: 5
# Allow auto-merge for security updates
allow:
- dependency-type: "all"
# Commit message configuration
commit-message:
prefix: "deps"
prefix-development: "deps-dev"
include: "scope"
# Reviewers (uncomment and modify as needed)
# reviewers:
# - "your-username"
# assignees:
# - "your-username"
# Labels for PRs
labels:
- "dependencies"
# Increase version update PR limit for security patches
pull-request-branch-name:
separator: "/"

# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "UTC"
open-pull-requests-limit: 3
commit-message:
prefix: "ci"
include: "scope"
labels:
- "github-actions"
- "dependencies"
Loading
Loading