You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Migrating development environments](#migrating-development-environments)
24
+
-[Migrating from `pdm` to `uv`](#migrating-from-pdm-to-uv)
25
+
-[Migrating `pdm`'s scripts to `nox`](#migrating-pdms-scripts-to-nox)
25
26
26
27
## This is too much to read! I want to ask a question!
27
28
@@ -83,7 +84,7 @@ This will:
83
84
- create `uv.lock`
84
85
- create a venv at `.venv`
85
86
- install all dependencies to `.venv`
86
-
- install pre-commit hooks at `.git/hooks/pre-commit`
87
+
- install pre-commit hooks (via prek) at `.git/hooks/pre-commit`
87
88
88
89
Other tools used in this project include [ruff](https://docs.astral.sh/ruff) (formatter and linter), and [pyright](https://microsoft.github.io/pyright/#/) (type-checker). For the most part, these automatically run on every commit with no additional action required - see below for details.
89
90
@@ -113,9 +114,9 @@ Details about the specific commit types can be found on the [conventional commit
113
114
114
115
This project follows PEP-8 guidelines (mostly) with a column limit of 100 characters, and uses the tools mentioned above to enforce a consistent coding style.
115
116
116
-
The installed [`pre-commit`](https://pre-commit.com/) hooks will automatically run before every commit, which will format/lint the code
117
+
The installed [`prek`](https://github.com/j178/prek) hooks will automatically run before every commit, which will format/lint the code
117
118
to match the project's style. Note that you will have to stage and commit again if anything was updated!
118
-
Most of the time, running pre-commit will automatically fix any issues that arise.
119
+
Most of the time, running prek will automatically fix any issues that arise.
119
120
120
121
### Pyright
121
122
@@ -182,4 +183,4 @@ $ nox -s dev
182
183
```
183
184
184
185
> [!TIP]
185
-
> To provide arguments to the selected sessions with `nox`, pass them **after**`--`. For example, to tell `pre-commit` to only run `ruff format`, run `nox -s lint -- ruff-format`.
186
+
> To provide arguments to the selected sessions with `nox`, pass them **after**`--`. For example, to tell `prek` to only run `ruff format`, run `nox -s lint -- ruff-format`.
0 commit comments