Files
WQ_GUI/.gitignore
duxin 91e234827c chore: 补齐 .gitignore 规则,忽略构建产物/离线包/临时调试脚本
忽略约 3GB 本地产物:1_2/ (PyInstaller 输出)、perfect_env.zip、MegaWater.zip、offline_packages/ 离线 wheel、src/postprocessing/work_dir/ 运行期报告。

补上 src/new/**/__pycache__/:原 "!/src/new/**" 反忽略规则会把字节码目录重新放出来。

忽略根目录一次性调试脚本 (_ast_check/_tmp_*/_verify_*/audit_*/debug_probe/verify_*) 与文档类产物 (_audit_report_v2.md、generate_ppt.py、physical_features.json、reqs.txt、*.pptx),文件仍保留在本地磁盘。
2026-09-15 10:34:29 +08:00

247 lines
4.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.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
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# 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
# IDEs
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Project specific
# Build directories
V1/
V2/
dist/
build/
# Data files (keep structure but ignore large files)
data/input/*
data/output/*
data/models/*
!data/input/.gitkeep
!data/output/.gitkeep
!data/models/.gitkeep
# Log files
*.log
logs/
# Temporary files
*.tmp
*.temp
temp/
tmp/
# Backup files
*.bak
*.backup
*~
# ============================================================
# 不应进入版本控制的文件类型
# ============================================================
# Qwen Code 用户配置(个人环境,每次 clone 都不同)
.qwen/settings.json
.qwen/settings.json.orig
# Qwen Code 自动生成的 skill 文件(每次会话重新生成)
.qwen/skills/
# GUI 运行时生成的文件
src/gui/scaler_params.pkl
src/gui/crash_dump.txt
# 临时/调试脚本(根目录)
降采样光谱.py
1.py
tset.py
# 报告与文档(本地工作产物)
封装问题分析报告.md
软件说明.md
软件说明2.md
# 数据子目录中非 .gitkeep 的生成文件
data/sub/waterindex*.csv
data/sub/waterindex*.xlsx
data/sub/png/watermask.png
# 图标文件(仅需保留 vector/svg删除像素图标压缩包副本
data/icons-1/
data/icons/
# 旧版脚手架(遗留实验代码)
new/
# 精确放行 src/new/(端到端模块化新架构)
!/src/new/
!/src/new/**
!/src/new/core/**
!/src/new/services/**
!/src/new/views/**
# 前端脚手架(未集成的独立 Vue 项目)
frontend/
# 面板备份目录(运行中自动生成)
_archive_panels_backup_/
# ============================================================
# 构建产物 / 离线安装包(本地留存,不入库;合计约 3GB
# ============================================================
1_2/
MegaWater.zip
perfect_env.zip
offline_packages/
# 运行期产物(可视化报告 docx 等)
src/postprocessing/work_dir/
# src/new/ 被上方 "精确放行" 反忽略规则放出的字节码目录,需在此显式再忽略
src/new/**/__pycache__/
# ============================================================
# 一次性调试脚本 / 临时验证产物(根目录,本地留存不入库)
# ============================================================
_ast_check.py
_step7_path_fix.py
_tmp_*.py
_tmp_diff1.txt
_verify_out.txt
_verify_panel_registry.py
_small_out.hdr
audit_dependencies.py
audit_widgets.py
debug_probe.py
verify_chain.py
verify_out.txt
# ============================================================
# 文档类产物(暂不入库;如需留档请删除对应行)
# ============================================================
_audit_report_v2.md
generate_ppt.py
physical_features.json
reqs.txt
*.pptx