.gitignore 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. # 项目特定的忽略文件
  2. # ===================
  3. # 用户配置文件
  4. user_config.json
  5. config.json
  6. *.private.md
  7. # 上传文件目录
  8. uploads/
  9. *.docx
  10. *.pdf
  11. # 构建和打包相关
  12. dist/
  13. build/
  14. *.spec
  15. requirements_build.txt
  16. # 前端构建文件(保留源码,忽略构建产物)
  17. frontend/build/
  18. backend/static/
  19. client/release/
  20. # 临时和缓存文件
  21. *.tmp
  22. *.temp
  23. .DS_Store
  24. Thumbs.db
  25. # Node.js相关
  26. node_modules/
  27. npm-debug.log*
  28. yarn-debug.log*
  29. yarn-error.log*
  30. package-lock.json.backup
  31. # IDE和编辑器文件(根据需要调整)
  32. .vscode/settings.json
  33. .vscode/extensions.json
  34. # 保留launch.json和tasks.json用于项目配置
  35. # 原有的gitignore内容保持不变
  36. # Byte-compiled / optimized / DLL files
  37. __pycache__/
  38. *.py[codz]
  39. *$py.class
  40. # C extensions
  41. *.so
  42. # Distribution / packaging
  43. .Python
  44. build/
  45. develop-eggs/
  46. dist/
  47. downloads/
  48. eggs/
  49. .eggs/
  50. lib/
  51. lib64/
  52. parts/
  53. sdist/
  54. var/
  55. wheels/
  56. share/python-wheels/
  57. *.egg-info/
  58. .installed.cfg
  59. *.egg
  60. MANIFEST
  61. # PyInstaller
  62. # Usually these files are written by a python script from a template
  63. # before PyInstaller builds the exe, so as to inject date/other infos into it.
  64. *.manifest
  65. # *.spec
  66. # Installer logs
  67. pip-log.txt
  68. pip-delete-this-directory.txt
  69. # Unit test / coverage reports
  70. htmlcov/
  71. .tox/
  72. .nox/
  73. .coverage
  74. .coverage.*
  75. .cache
  76. nosetests.xml
  77. coverage.xml
  78. *.cover
  79. *.py.cover
  80. .hypothesis/
  81. .pytest_cache/
  82. cover/
  83. # Translations
  84. *.mo
  85. *.pot
  86. # Django stuff:
  87. *.log
  88. local_settings.py
  89. db.sqlite3
  90. db.sqlite3-journal
  91. # Flask stuff:
  92. instance/
  93. .webassets-cache
  94. # Scrapy stuff:
  95. .scrapy
  96. # Sphinx documentation
  97. docs/_build/
  98. # PyBuilder
  99. .pybuilder/
  100. target/
  101. # Jupyter Notebook
  102. .ipynb_checkpoints
  103. # IPython
  104. profile_default/
  105. ipython_config.py
  106. # pyenv
  107. # For a library or package, you might want to ignore these files since the code is
  108. # intended to run in multiple environments; otherwise, check them in:
  109. # .python-version
  110. # pipenv
  111. # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
  112. # However, in case of collaboration, if having platform-specific dependencies or dependencies
  113. # having no cross-platform support, pipenv may install dependencies that don't work, or not
  114. # install all needed dependencies.
  115. #Pipfile.lock
  116. # UV
  117. # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
  118. # This is especially recommended for binary packages to ensure reproducibility, and is more
  119. # commonly ignored for libraries.
  120. #uv.lock
  121. # poetry
  122. # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
  123. # This is especially recommended for binary packages to ensure reproducibility, and is more
  124. # commonly ignored for libraries.
  125. # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
  126. #poetry.lock
  127. #poetry.toml
  128. # pdm
  129. # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
  130. # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
  131. # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
  132. #pdm.lock
  133. #pdm.toml
  134. .pdm-python
  135. .pdm-build/
  136. # pixi
  137. # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
  138. #pixi.lock
  139. # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
  140. # in the .venv directory. It is recommended not to include this directory in version control.
  141. .pixi
  142. # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
  143. __pypackages__/
  144. # Celery stuff
  145. celerybeat-schedule
  146. celerybeat.pid
  147. # SageMath parsed files
  148. *.sage.py
  149. # Environments
  150. .env
  151. .envrc
  152. .dev.vars
  153. .venv
  154. env/
  155. venv/
  156. ENV/
  157. env.bak/
  158. venv.bak/
  159. # Spyder project settings
  160. .spyderproject
  161. .spyproject
  162. # Rope project settings
  163. .ropeproject
  164. # mkdocs documentation
  165. /site
  166. # mypy
  167. .mypy_cache/
  168. .dmypy.json
  169. dmypy.json
  170. # Pyre type checker
  171. .pyre/
  172. # pytype static type analyzer
  173. .pytype/
  174. # Cython debug symbols
  175. cython_debug/
  176. # PyCharm
  177. # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
  178. # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
  179. # and can be added to the global gitignore or merged into this file. For a more nuclear
  180. # option (not recommended) you can uncomment the following to ignore the entire idea folder.
  181. #.idea/
  182. # Abstra
  183. # Abstra is an AI-powered process automation framework.
  184. # Ignore directories containing user credentials, local state, and settings.
  185. # Learn more at https://abstra.io/docs
  186. .abstra/
  187. # Visual Studio Code
  188. # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
  189. # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
  190. # and can be added to the global gitignore or merged into this file. However, if you prefer,
  191. # you could uncomment the following to ignore the entire vscode folder
  192. # .vscode/
  193. # Ruff stuff:
  194. .ruff_cache/
  195. # Cloudflare Wrangler local state
  196. .wrangler/
  197. # PyPI configuration file
  198. .pypirc
  199. # Cursor
  200. # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
  201. # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
  202. # refer to https://docs.cursor.com/context/ignore-files
  203. .cursorignore
  204. .cursorindexingignore
  205. # Marimo
  206. marimo/_static/
  207. marimo/_lsp/
  208. __marimo__/
  209. AGENTS.md
  210. tools/测试文件/
  211. tools/对比结果/