Skip to content

Commit 7ebc57b

Browse files
committed
Merge remote-tracking branch 'origin/renovate/lock-file-maintenance-pep621' into bump-pycord
# Conflicts: # .pre-commit-config.yaml # uv.lock
2 parents fc25610 + 8dd6293 commit 7ebc57b

4 files changed

Lines changed: 102 additions & 101 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: codespell
2222

2323
- repo: https://github.com/tombi-toml/tombi-pre-commit
24-
rev: v1.5.4
24+
rev: v1.5.5
2525
hooks:
2626
- exclude: \A.+\.lock\Z
2727
id: tombi-format
@@ -33,7 +33,7 @@ repos:
3333
- id: sync-with-uv
3434

3535
- repo: https://github.com/kjanat/actionlint
36-
rev: v1.16
36+
rev: v1.17.0
3737
hooks:
3838
- id: actionlint-shellcheck
3939
args: [-pyflakes=]
@@ -62,7 +62,7 @@ repos:
6262
args: [--strict]
6363

6464
- repo: https://github.com/renovatebot/pre-commit-hooks
65-
rev: 44.82.0
65+
rev: 44.90.1
6666
hooks:
6767
- id: renovate-config-validator
6868
args: [--strict]
@@ -83,26 +83,18 @@ repos:
8383
- id: gitlint
8484
- id: gitlint-ci
8585

86-
- repo: https://github.com/pre-commit/pre-commit-hooks
87-
rev: v6.0.0
88-
hooks:
89-
- id: check-illegal-windows-names
90-
- id: check-shebang-scripts-are-executable
91-
- id: check-vcs-permalinks
92-
- id: destroyed-symlinks
93-
- id: check-case-conflict
94-
- id: name-tests-test
95-
args: [--pytest-test-first]
96-
files: (?:^|\/)tests\/(?:[^\/]+\/)*(?!_)[^\/]+\.py$ # yamllint disable-line rule:key-ordering
97-
- id: pretty-format-json
98-
args: [--autofix, --indent, "4"]
99-
10086
- repo: builtin
10187
hooks:
88+
- id: check-case-conflict
89+
- id: destroyed-symlinks
90+
- id: check-vcs-permalinks
10291
- id: check-added-large-files
92+
- id: check-illegal-windows-names
93+
- id: check-shebang-scripts-are-executable
10394
- id: trailing-whitespace
10495
- id: check-executables-have-shebangs
10596
- id: check-json
97+
- id: check-jsonc
10698
- id: check-toml
10799
- id: check-yaml
108100
- id: end-of-file-fixer
@@ -113,6 +105,15 @@ repos:
113105
args: [--fix=lf]
114106
- id: detect-private-key
115107
- id: fix-byte-order-marker
108+
- id: pretty-format-json
109+
args: [--autofix, --indent, "4"]
110+
- id: require-filename-pattern
111+
files: (^|/)tests/.+\.py$ # yamllint disable-line rule:key-ordering
112+
args:
113+
- ^test_.*\.py$
114+
- ^__init__\.py$
115+
- ^conftest\.py$
116+
- ^_.*\.py$
116117

117118
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
118119
rev: v2.16.0

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The conditions for each [task](https://docs.pycord.dev/en/stable/ext/tasks) are
120120

121121
The only supported way to deploy TeX-Bot in production is by using our pre-built [docker container](https://docs.docker.com/resources/what-container).
122122
It is can be pulled from the [GitHub Container Registry](https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-container-registry) with this identifier: [`ghcr.io/CSSUoB/tex-bot-py-v2:latest`](https://github.com/CSSUoB/TeX-Bot-Py-V2/pkgs/container/tex-bot-py-v2).
123-
(An introduction on how to use a [docker-compose deployment](https://docs.docker.com/compose) can be found [here](https://docs.docker.com/get-started/08_using_compose).)
123+
([Here is an introduction](https://docs.docker.com/get-started/08_using_compose) on how to use a [docker-compose deployment](https://docs.docker.com/compose).)
124124
See [**Versioning**](#versioning) for the full list of available version tags for each release.
125125

126126
Before running the [container](https://docs.docker.com/resources/what-container), some [environment variables](https://wikipedia.org/wiki/Environment_variable) will need to be set.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ main = [
2727
"typed_classproperties>=1.2",
2828
"validators>=0.34"
2929
]
30-
pre-commit = ["prek>=0.3.1"]
30+
pre-commit = ["prek>=0.5.3"]
3131
test = ["pytest>=9", "pytest-cov>=6.1"]
3232
type-check = [
3333
"django-stubs[compatible-mypy]>=5.1",

0 commit comments

Comments
 (0)