Skip to content

Commit f84e385

Browse files
authored
chore: cursor rules (#515)
1 parent 9fa89d5 commit f84e385

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.cursor/rules/repository-setup.mdc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
description:
3+
globs:
4+
alwaysApply: true
5+
---
6+
7+
# Repository setup and pre-commit checks
8+
9+
This repository is using `uv` for package management. Rather than using `pip` use `uv pip` to install any packages and `uv run` to run python.
10+
11+
Run following checks after implementing any changes:
12+
13+
uv run ruff format
14+
uv run ruff check --fix
15+
uv run mypy <PATH>
16+
pytest

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
- id: check-case-conflict
88
- id: check-merge-conflict
99
- id: trailing-whitespace
10-
exclude: .bumpversion.cfg|notebooks/.*\.py
10+
exclude: .cursor/
1111
- id: check-ast
1212
- id: check-added-large-files
1313
- id: check-toml

0 commit comments

Comments
 (0)