Skip to content

Commit 75d8921

Browse files
SolipsistmonkeyJesse Harwin
andauthored
Fixed formatting (#72)
* Fixed formatting * Updated ruff version and syntax --------- Co-authored-by: Jesse Harwin <[email protected]>
1 parent 3be53a5 commit 75d8921

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ repos:
1717
exclude: ^{{cookiecutter.project_name}}/
1818

1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: "v0.11.5"
20+
rev: "v0.12.7"
2121
hooks:
22-
- id: ruff
22+
- id: ruff-check
2323
args: [--exit-non-zero-on-fix, --config=pyproject.toml]
2424
exclude: ^{{cookiecutter.project_name}}
2525
- id: ruff-format

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ uv sync
7070

7171
4. Install pre-commit to run linters/formatters at commit time:
7272

73-
uv run pre-commit install
73+
```bash
74+
uv run pre-commit install
75+
```
7476

7577
5. Create a branch for local development:
7678

{{cookiecutter.project_name}}/.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ repos:
1515
- id: trailing-whitespace
1616

1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: "v0.11.5"
18+
rev: "v0.12.7"
1919
hooks:
20-
- id: ruff
21-
args: [--exit-non-zero-on-fix]
20+
- id: ruff-check
21+
args: [ --exit-non-zero-on-fix ]
2222
- id: ruff-format

0 commit comments

Comments
 (0)