更新:完善 .gitignore 文件
根据 HACS 项目规范添加: - HACS 特定文件(RELEASE.md, changelog.md, .hacs/) - 测试相关文件(.pytest_cache/, .coverage, htmlcov/) - 敏感信息(*.pem, *.key, *.crt, .env) - 临时文件和备份文件 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6a66c9b474
commit
79e39c28c9
28
.gitignore
vendored
28
.gitignore
vendored
@ -42,3 +42,31 @@ Thumbs.db
|
|||||||
# 敏感信息
|
# 敏感信息
|
||||||
.git-credentials
|
.git-credentials
|
||||||
.git_config.txt
|
.git_config.txt
|
||||||
|
*.pem
|
||||||
|
*.key
|
||||||
|
*.crt
|
||||||
|
.env
|
||||||
|
.env.local
|
||||||
|
|
||||||
|
# HACS 特定
|
||||||
|
RELEASE.md
|
||||||
|
changelog.md
|
||||||
|
CHANGELOG.md
|
||||||
|
.hacs/
|
||||||
|
|
||||||
|
# 测试
|
||||||
|
.pytest_cache/
|
||||||
|
.coverage
|
||||||
|
htmlcov/
|
||||||
|
tests/fixtures/
|
||||||
|
*.mo
|
||||||
|
|
||||||
|
# Home Assistant 配置(用户个人配置不应提交)
|
||||||
|
configuration.yaml.bak
|
||||||
|
*.backup
|
||||||
|
|
||||||
|
# 临时文件
|
||||||
|
tmp/
|
||||||
|
temp/
|
||||||
|
*.tmp
|
||||||
|
*.bak
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user