Skip to content

Commit 02e2ec1

Browse files
Merge main into bump-pycord
2 parents f2b6ebb + e545e94 commit 02e2ec1

3 files changed

Lines changed: 71 additions & 72 deletions

File tree

.pre-commit-config.yaml

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,33 @@ default_language_version:
44
default_stages: [pre-commit, pre-merge-commit, manual]
55

66
repos:
7-
- repo: https://github.com/tsvikas/sync-with-uv
8-
rev: v0.5.0
7+
- repo: https://github.com/astral-sh/uv-pre-commit
8+
rev: 0.9.28
99
hooks:
10-
- id: sync-with-uv
10+
- id: uv-lock
11+
always_run: true
12+
13+
- repo: https://github.com/gitleaks/gitleaks
14+
rev: v8.30.0
15+
hooks:
16+
- id: gitleaks
1117

1218
- repo: https://github.com/codespell-project/codespell
1319
rev: v2.4.1
1420
hooks:
1521
- id: codespell
1622

23+
- repo: https://github.com/tombi-toml/tombi-pre-commit
24+
rev: v0.7.25
25+
hooks:
26+
- id: tombi-format
27+
- id: tombi-lint
28+
29+
- repo: https://github.com/tsvikas/sync-with-uv
30+
rev: v0.5.0
31+
hooks:
32+
- id: sync-with-uv
33+
1734
- repo: https://github.com/rhysd/actionlint
1835
rev: v1.7.10
1936
hooks:
@@ -39,7 +56,7 @@ repos:
3956
args: [--strict]
4057

4158
- repo: https://github.com/renovatebot/pre-commit-hooks
42-
rev: 42.92.14
59+
rev: 43.0.6
4360
hooks:
4461
- id: renovate-config-validator
4562
args: [--strict]
@@ -60,12 +77,6 @@ repos:
6077
- id: gitlint
6178
- id: gitlint-ci
6279

63-
- repo: https://github.com/gitleaks/gitleaks
64-
rev: v8.30.0
65-
hooks:
66-
- id: gitleaks
67-
language_version: ">=1.25.4"
68-
6980
- repo: https://github.com/pre-commit/pre-commit-hooks
7081
rev: v6.0.0
7182
hooks:
@@ -104,18 +115,6 @@ repos:
104115
- id: pretty-format-ini
105116
args: [--autofix]
106117

107-
- repo: https://github.com/tombi-toml/tombi-pre-commit
108-
rev: v0.7.25
109-
hooks:
110-
- id: tombi-format
111-
- id: tombi-lint
112-
113-
- repo: https://github.com/astral-sh/uv-pre-commit
114-
rev: 0.9.27
115-
hooks:
116-
- id: uv-lock
117-
always_run: true
118-
119118
- repo: https://github.com/astral-sh/ruff-pre-commit
120119
rev: v0.14.14
121120
hooks:

pyproject.toml

Lines changed: 2 additions & 2 deletions
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.2,!=0.2.23"]
30+
pre-commit = ["prek>=0.3.1"]
3131
test = ["pytest>=9", "pytest-cov>=6.1"]
3232
type-check = [
3333
"django-stubs[compatible-mypy]>=5.1",
@@ -188,7 +188,7 @@ aliases = { }
188188
banned-aliases = { "regex" = ["re"], "numpy" = ["np"], "matplotlib" = ["mpl"], "matplotlib.pyplot" = [
189189
"plt"
190190
] }
191-
banned-from = ["abc", "date", "datetime", "re", "regex"]
191+
banned-from = ["abc", "date", "datetime", "functools", "itertools", "re", "regex"]
192192

193193
[tool.ruff.lint.flake8-self]
194194
extend-ignore-names = ["_base_manager", "_default_manager", "_get_wrap_line_width", "_meta"]

0 commit comments

Comments
 (0)