Skip to content

Commit f3abb6e

Browse files
committed
Update
1 parent 583763e commit f3abb6e

File tree

4 files changed

+58
-37
lines changed

4 files changed

+58
-37
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,15 @@ repos:
3838
- id: detect-private-key
3939
- id: forbid-new-submodules
4040

41+
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
42+
rev: "3.6.1"
43+
hooks:
44+
- id: editorconfig-checker
45+
alias: ec
46+
exclude: LICENSE
47+
4148
- repo: https://github.com/PyCQA/autoflake
42-
rev: "v2.3.1"
49+
rev: "v2.3.3"
4350
hooks:
4451
- id: autoflake
4552
args:
@@ -57,10 +64,11 @@ repos:
5764
args: ["--py310-plus", "--keep-runtime-typing"]
5865

5966
- repo: https://github.com/astral-sh/ruff-pre-commit
60-
rev: "v0.14.10"
67+
rev: "v0.15.5"
6168
hooks:
6269
# Formatter first so code is canonicalized
6370
- id: ruff-format
71+
args: ["--config", "ruff.toml"]
6472
# Then linting + autofixes
6573
- id: ruff
6674
args: ["--output-format=full", "--fix", "--unsafe-fixes", "--config", "ruff.toml"]

CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ If you are proposing a new feature:
3939

4040
- Explain in detail how it would work.
4141
- Keep the scope as narrow as possible, to make it easier to implement.
42-
- Remember that this is a volunteer-driven project, and that contributions
43-
are welcome :)
42+
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
4443

4544
# Get Started!
4645

@@ -91,7 +90,7 @@ just test
9190
```
9291

9392
7. Before raising a pull request you should also run tox.
94-
This will run the tests across different versions of Python:
93+
This will run the tests across different versions of Python:
9594

9695
```bash
9796
tox
@@ -117,4 +116,4 @@ Before you submit a pull request, check that it meets these guidelines:
117116
1. The pull request should include tests.
118117

119118
2. If the pull request adds functionality, the docs should be updated.
120-
Put your new functionality into a function with a docstring, and add the feature to the list in `README.md`.
119+
Put your new functionality into a function with a docstring, and add the feature to the list in `README.md`.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
*** This readme was adapted from Best-README-Template.
3-
https://github.com/othneildrew/Best-README-Template
3+
https://github.com/othneildrew/Best-README-Template
44
-->
55

66
<!-- PROJECT SHIELDS -->
@@ -66,18 +66,18 @@ To get a local copy of the project up and running on your machine, follow these
6666

6767
2. Install the project dependencies
6868

69-
If you have `direnv` installed, simply allow the environment:
69+
If you have `direnv` installed, simply allow the environment:
7070

71-
```sh
72-
direnv allow
73-
```
71+
```sh
72+
direnv allow
73+
```
7474

75-
Otherwise, you can use `nix-shell` to enter the environment:
75+
Otherwise, you can use `nix-shell` to enter the environment:
7676

77-
```sh
78-
nix-shell --max-jobs $(nproc) # Linux / Windows (WSL)
79-
nix-shell --max-jobs $(sysctl -n hw.ncpu) # macOS
80-
```
77+
```sh
78+
nix-shell --max-jobs $(nproc) # Linux / Windows (WSL)
79+
nix-shell --max-jobs $(sysctl -n hw.ncpu) # macOS
80+
```
8181

8282
3. Run the project
8383

uv.lock

Lines changed: 35 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)