Skip to content

Commit 83beb9f

Browse files
committed
chore: setup scratch file directory
Scratch file directory is a place where we can put temporary scripts for development, so it is git-ignored and some lint checks are disabled on it.
1 parent 4ff43f0 commit 83beb9f

4 files changed

Lines changed: 24 additions & 9 deletions

File tree

.gitignore

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
1-
# Python-generated files
2-
.idea/
1+
# Environment variables
2+
.env
3+
4+
# Reserved directories
5+
data/
6+
scratch/
7+
8+
# Python artefacts
39
.ipynb_checkpoints/
410
.venv/
5-
.vscode/
611
__pycache__/
712
build/
813
dist/
914
wheels/
1015
.coverage
11-
.env
1216
*.egg-info
1317
*.py[oc]
1418

15-
# MacOS stuff
16-
.DS_Store
19+
# IDE artefacts
20+
.cursor/
21+
.idea/
22+
.vscode/
1723

18-
# Coding agents stuff
24+
# Coding agents artefacts
25+
.claude/
26+
.opencode/
1927
.rtk/
2028

21-
playground.py
29+
# System artefacts
30+
.DS_Store

.rumdl.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[global]
2+
exclude = ["scratch/**"]
23
line-length = 100
34

45
[MD013]

AGENTS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ When adding or changing a public API capability, update the relevant pieces toge
3737

3838
## Validation
3939

40-
Before opening a PR, run the CI checks: `make lint typecheck test`.
40+
After having done some changes or before opening a PR, run the CI checks:
41+
`make lint typecheck test`.
42+
43+
Never run the underlying checks without using these `make` commands (e.g. with `uv run ruff ...`),
44+
as these kind of checks won't take into account some settings (like the `exclude` list).
4145

4246
## Non-Goals
4347

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ target-version = "py310"
6262
unsafe-fixes = true
6363

6464
[tool.ruff.lint]
65+
exclude = ["scratch/"]
6566
explicit-preview-rules = true
6667
extend-ignore = ["D107"]
6768
preview = true

0 commit comments

Comments
 (0)