Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
exclude: "^tests"

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

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.3.3"
rev: "v3.4.1"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
Expand Down Expand Up @@ -130,12 +130,12 @@ repos:
additional_dependencies: [cogapp]

- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2024.10.21
rev: 2024.11.25
hooks:
- id: validate-pyproject

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.29.4
rev: 0.30.0
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
12 changes: 6 additions & 6 deletions docs/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ This section covers common needs.
## Starting a new project

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

Another option is the [pybind11 example][].

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

## Making a Conda recipe

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

You need to recreate your `build-system.requires` in the `host` table, with the
conda versions of your dependencies. You also need to add `cmake` and either
Expand Down
8 changes: 4 additions & 4 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Getting started

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

## Quick start

Expand Down
10 changes: 5 additions & 5 deletions docs/overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

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

## If conditions

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

### `implementation-version` (version)

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

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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ extend-select = [
"S", # eval -> literal_eval
"SIM", # flake8-simplify
"T20", # flake8-print
"TCH", # flake8-type-checking
"TC", # flake8-type-checking
"TID251", # flake8-tidy-imports.banned-api
"TRY", # tryceratops
"UP", # pyupgrade
Expand Down
Loading