瀏覽代碼

Stop tracking robochatto.env and robochatto.db

These local bot state files never belonged in the library repo.
robochatto.env in particular carried credentials, so anything that was
ever committed to it must be treated as leaked.

Also add .mypy_cache/ and .ruff_cache/ to .gitignore to prevent future
accidental commits from tooling caches.

Note: this only stops future tracking. The files remain in git history
(commits 1589fe6 and 56d7089 among others); scrubbing history would
require a force-push rewrite of main. Credential rotation is tracked
in bean chattolib-si6t.
TheCodemancer 3 月之前
父節點
當前提交
7128b64618
共有 1 個文件被更改,包括 6 次插入 和 0 次删除
  1. 6 0
      .gitignore

+ 6 - 0
.gitignore

@@ -2,5 +2,11 @@ __pycache__/
 *.egg-info/
 .venv/
 .pytest_cache/
+.mypy_cache/
+.ruff_cache/
 dist/
 build/
+
+# Local bot state / credentials — must not be tracked
+robochatto.env
+robochatto.db