Exclude local credentials and state from source and builds

This commit is contained in:
2026-11-09 18:12:03 +10:00
parent d7e7d6789e
commit 27160ca120
2 changed files with 62 additions and 3 deletions
+26 -1
View File
@@ -91,7 +91,6 @@ celerybeat-schedule
*.sage.py *.sage.py
# Environments # Environments
.env
.venv .venv
env/ env/
venv/ venv/
@@ -116,3 +115,29 @@ dmypy.json
# Pyre type checker # Pyre type checker
.pyre/ .pyre/
# Repository metadata and local credentials/state are not build inputs.
**/.git
**/.aws
**/.azure
**/.ssh
**/.kube
**/.config/gcloud
**/.config/gh/hosts.yml
**/.docker/config.json
**/.docker/contexts
**/.git-credentials
**/.netrc
**/_netrc
**/.pypirc
**/.agents
**/.codex
**/.claude
**/.cursor
**/.cursorrules
**/.cursorignore
**/.cursorindexingignore
**/.env
**/.env.*
# Preserve config-example.yaml; actual inverter configuration stays local.
**/config.yaml
+35 -1
View File
@@ -90,7 +90,6 @@ celerybeat-schedule
*.sage.py *.sage.py
# Environments # Environments
.env
.venv .venv
env/ env/
venv/ venv/
@@ -119,3 +118,38 @@ dmypy.json
# Intellij IDEA # Intellij IDEA
.idea .idea
*.iml *.iml
# Local credentials and cloud CLI state
**/.aws/
**/.azure/
**/.ssh/
**/.kube/
**/.config/gcloud/
**/.config/gh/hosts.yml
**/.docker/config.json
**/.docker/contexts/
.git-credentials
.netrc
_netrc
.pypirc
# Local environment values; review example files before sharing
.env
.env.*
!.env.example
!.env.*.example
# Agent runtime state; shared skills remain versionable
**/.agents/*
!**/.agents/skills/
**/.codex/*
!**/.codex/skills/
**/.claude/*
!**/.claude/skills/
!**/.claude/commands/
# Retired Cursor editor configuration
.cursor/
.cursorrules
.cursorignore
.cursorindexingignore