# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
.idea
# C extensions
*.so
.zcode
.zcodeignore

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
dist-pyd/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-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
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# 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
#   For a library or package, you might want to ignore these files since the code is
#   intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
#   However, in case of collaboration, if having platform-specific dependencies or dependencies
#   having no cross-platform support, pipenv may install dependencies that don't work, or not
#   install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__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

# ruff
.ruff_cache/

# uv(锁文件策略见下方 uv.lock 段:不入库)

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# 三菱版权手册仅本地参考,不入库(需要发布时删除下面一行)
# Mitsubishi copyrighted manuals stay local only
docs/**/*.pdf
docs/**/*.pptx
docs/**/*.ppt
# 厂商版权物料一律本地留存、不入库(2026-10-15 review-1043 甲-1/甲-2:
# FANUC fwlib32.h 与海康固件要求 txt 均为厂商版权文件,曾入库并随 sdist 出货)
docs/**/*.h
docs/**/*.txt

# 锁文件不入库(2026-10-15 review-1043 甲-4):uv.lock 会记录生成时的依赖源,
# 而本机 `UV_DEFAULT_INDEX` 指向国内镜像(环境变量优先级高于仓库级
# `[[tool.uv.index]]` 与 pyproject,实测每次 `uv run` 都会把 lock 改回镜像)——
# lock 入库即把镜像写进发布物与客户复现路径。解析结果仍由各依赖的上下界
# (`asyncua>=1.1.5,<2` 等)约束,CI 每次现算(无镜像环境)。
uv.lock

# 审查精确过程台账只存 commit/CHANGELOG/memory,不入库(2026-10-14 用户决议)
docs/review-*.md

# 参考项目源码仅本地留档(tools/_ref_*)
tools/_ref_*/
# 联机脚本一律不入库(AGENTS.md「真机核证人工完成;联机脚本 tools/manual_*.py
# 永不入库」;2026-10-14 撤跟踪,本地保留供真机联测)
tools/manual_*.py
tools/manual_test.*

# 会话临时文件(命令输出/临时脚本,根目录锚定不误伤包内 __init__.py)
/_*.txt
/_*.py
