根据 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>
73 lines
652 B
Plaintext
73 lines
652 B
Plaintext
# 编译文件
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# 虚拟环境
|
|
venv/
|
|
env/
|
|
ENV/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# 系统文件
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# 日志文件
|
|
*.log
|
|
|
|
# 敏感信息
|
|
.git-credentials
|
|
.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
|