Skip to content

Commit 7e646bd

Browse files
[pre-commit.ci] pre-commit autoupdate (#79)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: 2c9f875913ee60ca25ce70243dc24d5b6415598c → cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b](pre-commit/pre-commit-hooks@2c9f875...cef0300) - [github.com/pre-commit/mirrors-prettier: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 → f12edd9c7be1c20cfa42420fd0e6df71e42b51ea](pre-commit/mirrors-prettier@ffb6a75...f12edd9) - [github.com/astral-sh/ruff-pre-commit: 1dc9eb131c2ea4816c708e4d85820d2cc8542683 → 971923581912ef60a6b70dbf0c3e9a39563c9d47](astral-sh/ruff-pre-commit@1dc9eb1...9719235) - [github.com/codespell-project/codespell: 193cd7d27cd571f79358af09a8fb8997e54f8fff → 63c8f8312b7559622c0d82815639671ae42132ac](codespell-project/codespell@193cd7d...63c8f83) * Ignore alpha release * Fixing for new ruff rule * '[pre-commit.ci 🤖] Apply code format tools to PR' --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Brigitta Sipőcz <[email protected]> Co-authored-by: Brigitta Sipőcz <[email protected]>
1 parent 7616e69 commit 7e646bd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
6+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
77
hooks:
88
- id: check-added-large-files
99
- id: check-ast
@@ -26,14 +26,14 @@ repos:
2626
args: [--prose-wrap=preserve]
2727

2828
- repo: https://github.com/astral-sh/ruff-pre-commit
29-
rev: 1dc9eb131c2ea4816c708e4d85820d2cc8542683 # frozen: v0.5.0
29+
rev: 971923581912ef60a6b70dbf0c3e9a39563c9d47 # frozen: v0.11.4
3030
hooks:
3131
- id: ruff
3232
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
3333
- id: ruff-format
3434

3535
- repo: https://github.com/codespell-project/codespell
36-
rev: "193cd7d27cd571f79358af09a8fb8997e54f8fff" # frozen: v2.3.0
36+
rev: "63c8f8312b7559622c0d82815639671ae42132ac" # frozen: v2.4.1
3737
hooks:
3838
- id: codespell
3939

devstats/publish.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def publish(project, templatedir, outdir):
8787
flags=re.MULTILINE,
8888
)
8989

90-
for v in variables:
91-
template = template.replace("{{ " + v + " }}", variables[v])
90+
for key, value in variables.items():
91+
template = template.replace("{{ " + key + " }}", value)
9292

9393
fh.write(template)

0 commit comments

Comments
 (0)