Skip to content

Commit ed6d711

Browse files
chore(deps): update pre-commit hooks (#954)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](astral-sh/ruff-pre-commit@v0.8.0...v0.8.1) - [github.com/rbubley/mirrors-prettier: v3.3.3 → v3.4.1](rbubley/mirrors-prettier@v3.3.3...v3.4.1) - [github.com/henryiii/validate-pyproject-schema-store: 2024.10.21 → 2024.11.25](henryiii/validate-pyproject-schema-store@2024.10.21...2024.11.25) - [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.30.0](python-jsonschema/check-jsonschema@0.29.4...0.30.0) <!--pre-commit.ci end--> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 7963302 commit ed6d711

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
exclude: "^tests"
2626

2727
- repo: https://github.com/astral-sh/ruff-pre-commit
28-
rev: v0.8.0
28+
rev: v0.8.1
2929
hooks:
3030
- id: ruff
3131
args: ["--fix", "--show-fixes"]
@@ -51,7 +51,7 @@ repos:
5151
exclude: ^src/scikit_build_core/resources/find_python
5252

5353
- repo: https://github.com/rbubley/mirrors-prettier
54-
rev: "v3.3.3"
54+
rev: "v3.4.1"
5555
hooks:
5656
- id: prettier
5757
types_or: [yaml, markdown, html, css, scss, javascript, json]
@@ -130,12 +130,12 @@ repos:
130130
additional_dependencies: [cogapp]
131131

132132
- repo: https://github.com/henryiii/validate-pyproject-schema-store
133-
rev: 2024.10.21
133+
rev: 2024.11.25
134134
hooks:
135135
- id: validate-pyproject
136136

137137
- repo: https://github.com/python-jsonschema/check-jsonschema
138-
rev: 0.29.4
138+
rev: 0.30.0
139139
hooks:
140140
- id: check-dependabot
141141
- id: check-github-workflows

docs/faqs.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ This section covers common needs.
55
## Starting a new project
66

77
The easiest way to get started is to use the [Scientific Python cookie][], which
8-
makes a new project following the [Scientific Python Development Guidelines][]. Scikit-build-core
9-
is one of the backends you can select. The project will have a lot of tooling prepared
10-
for you as well, including pre-commit checks and a noxfile; be sure to read the guidelines
11-
to see what is there and how it works.
8+
makes a new project following the [Scientific Python Development Guidelines][].
9+
Scikit-build-core is one of the backends you can select. The project will have a
10+
lot of tooling prepared for you as well, including pre-commit checks and a
11+
noxfile; be sure to read the guidelines to see what is there and how it works.
1212

1313
Another option is the [pybind11 example][].
1414

@@ -78,8 +78,8 @@ automatically does this for you. See [repairing](#repairing-wheels).
7878

7979
## Making a Conda recipe
8080

81-
`scikit-build-core` is available on conda-forge, and is used in [dozens
82-
of recipes][]. There are a few things to keep in mind.
81+
`scikit-build-core` is available on conda-forge, and is used in [dozens of
82+
recipes][]. There are a few things to keep in mind.
8383

8484
You need to recreate your `build-system.requires` in the `host` table, with the
8585
conda versions of your dependencies. You also need to add `cmake` and either

docs/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Getting started
22

33
If you've never made a Python package before, [packaging.python.org's
4-
tutorial][] is a great place to start. It walks you through creating a simple package
5-
in pure Python using modern tooling and configuration. Another great resource is
6-
the [Scientific Python Developer Guide][]. And a tutorial can be found at
7-
[INTERSECT Training: Packaging][].
4+
tutorial][] is a great place to start. It walks you through creating a simple
5+
package in pure Python using modern tooling and configuration. Another great
6+
resource is the [Scientific Python Developer Guide][]. And a tutorial can be
7+
found at [INTERSECT Training: Packaging][].
88

99
## Quick start
1010

docs/overrides.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
Scikit-build-core has an override system, similar to cibuildwheel and mypy. You
44
specify a `tool.scikit-build.overrides` array with an `if` key. That `if` key
5-
can take several values, including several based on [PEP 508][]. Inside the override,
6-
you can set any value `tool.scikit-build` supports, and it will override if the `if`
7-
condition is true.
5+
can take several values, including several based on [PEP 508][]. Inside the
6+
override, you can set any value `tool.scikit-build` supports, and it will
7+
override if the `if` condition is true.
88

99
## If conditions
1010

@@ -110,8 +110,8 @@ The value of `sys.implementation.name`. Takes a regex. Some common values:
110110

111111
### `implementation-version` (version)
112112

113-
Derived from `sys.implementation.version`, following [PEP 508][]. Takes a specifier
114-
set. This is the PyPy version on PyPy, for example.
113+
Derived from `sys.implementation.version`, following [PEP 508][]. Takes a
114+
specifier set. This is the PyPy version on PyPy, for example.
115115

116116
### `env.*` (string or bool)
117117

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ extend-select = [
251251
"S", # eval -> literal_eval
252252
"SIM", # flake8-simplify
253253
"T20", # flake8-print
254-
"TCH", # flake8-type-checking
254+
"TC", # flake8-type-checking
255255
"TID251", # flake8-tidy-imports.banned-api
256256
"TRY", # tryceratops
257257
"UP", # pyupgrade

0 commit comments

Comments
 (0)