Browse Source

chore: ignore local tool caches

zhenyu.hu 3 weeks ago
parent
commit
52a288fc6c
2 changed files with 23 additions and 0 deletions
  1. 3 0
      .gitignore
  2. 20 0
      .vscode/settings.json

+ 3 - 0
.gitignore

@@ -39,6 +39,9 @@ pip-delete-this-directory.txt
 htmlcov/
 .tox/
 .pytest_cache/
+.ruff_cache/
+.mypy_cache/
+.pytype/
 .coverage
 .coverage.*
 .cache

+ 20 - 0
.vscode/settings.json

@@ -0,0 +1,20 @@
+{
+  "files.exclude": {
+    "**/__pycache__": true,
+    "**/.pytest_cache": true,
+    "**/.ruff_cache": true,
+    "**/.mypy_cache": true,
+    "**/.cache": true,
+    "**/.pytype": true,
+    "**/.venv": true
+  },
+  "search.exclude": {
+    "**/__pycache__": true,
+    "**/.pytest_cache": true,
+    "**/.ruff_cache": true,
+    "**/.mypy_cache": true,
+    "**/.cache": true,
+    "**/.pytype": true,
+    "**/.venv": true
+  }
+}