From 755e6a6ed874a2765ee44c7886bafb0d9f6c0794 Mon Sep 17 00:00:00 2001 From: Maximilian Roos Date: Wed, 3 Sep 2025 16:20:40 -0700 Subject: [PATCH] Add CLAUDE.md with development setup instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simple development instructions for using uv with xarray, including commands for running tests and linting. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- CLAUDE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000000..68b2ca4e7b9 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,21 @@ +# xarray development setup + +## Setup + +```bash +uv sync +``` + +## Run tests + +```bash +uv run pytest xarray -n auto # All tests in parallel +uv run pytest xarray/tests/test_dataarray.py # Specific file +``` + +## Linting & type checking + +```bash +pre-commit run --all-files # Includes ruff and other checks +uv run dmypy run # Type checking with mypy +```