Skip to content

Commit 53ca10f

Browse files
Minor fixes
Updated `pre-commit` hooks to their latest version, changed the order of `ruff` hooks, updated licencing information for `examples.rst` and added missing licencing text.
1 parent 51c48b8 commit 53ca10f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: check-yaml
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.11.13
13+
rev: v0.14.10
1414
hooks:
15-
- id: ruff-format
16-
- id: ruff
15+
- id: ruff-check
1716
args: ["--fix"]
17+
- id: ruff-format
1818
- repo: https://github.com/fsfe/reuse-tool
19-
rev: v5.0.2
19+
rev: v6.2.0
2020
hooks:
2121
- id: reuse

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2-
# Copyright (c) 2025 EGJ Moorington
2+
# SPDX-FileCopyrightText: Copyright (c) 2025 EGJ Moorington
33
#
44
# SPDX-License-Identifier: MIT
55

docs/examples.rst.license

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2-
SPDX-FileCopyrightText: Copyright (c) 2024 EGJ Moorington
3-
4-
SPDX-License-Identifier: MIT
1+
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2+
SPDX-FileCopyrightText: Copyright (c) 2024, 2026 EGJ Moorington
3+
4+
SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)