2 parents 06f39ea + 6c53b88 commit ff6ce08Copy full SHA for ff6ce08
3 files changed
CLAUDE.md
@@ -86,6 +86,9 @@ DP1 HATS Catalog (LSDB/HATS on disk)
86
→ pipelines/plotting.py (diagnostic whitened residual plots)
87
```
88
89
+## Code Style
90
+- Use `isinstance(x, A | B)` not `isinstance(x, (A, B))` — ruff UP038 enforces this.
91
+
92
## Testing Notes
93
- Doctests are collected from `src/` and `docs/*.rst` (configured in `pyproject.toml`).
94
- Mark slow tests with `@pytest.mark.long`; these are skipped in pre-commit hooks but run in CI.
0 commit comments