Skip to content

Commit c0b755a

Browse files
authored
chore(config): exclude .gemini and .worktrees from git, ruff, and pytest (#90)
This PR adds .gemini/ and .worktrees/ to .gitignore and excludes them from ruff and pytest configurations to prevent redundant indexing and linting in nested worktree setups.
1 parent 5ee67ae commit c0b755a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ venv/
6060
ENV/
6161
env.bak/
6262
venv.bak/
63+
.gemini/
64+
.worktrees/
6365

6466
# IDEs
6567
.idea/

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,20 @@ lint.select = ["E", "F", "W", "I"]
175175
# Add the format pseudo-linter
176176
lint.extend-select = ["RUF100"]
177177

178+
exclude = [
179+
".gemini",
180+
".worktrees",
181+
]
182+
178183
# ===================================================================
179184
# Tool-specific Configuration for pytest
180185
# ===================================================================
181186
[tool.pytest.ini_options]
182187
norecursedirs = [
183188
".git",
184189
"build/**/_deps",
190+
".gemini",
191+
".worktrees",
185192
]
186193
markers = [
187194
"e2e: marks tests as end-to-end",

0 commit comments

Comments
 (0)