Skip to content

Commit 92308e4

Browse files
committed
build(deps): bump ruff and mypy, remove pygments warning
- Update ruff-pre-commit from v0.12.4 to v0.12.7 - Update mirrors-mypy from v1.17.0 to v1.17.1 - Remove ImportWarning for missing pygments in clean_lua_script function
1 parent 679fb2c commit 92308e4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
# - id: check-docstring-first
2121

2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.12.4
23+
rev: v0.12.7
2424
hooks:
2525
- id: ruff # Run the linter.
2626
types_or: [python, pyi, jupyter]
@@ -29,7 +29,7 @@ repos:
2929
types_or: [python, pyi, jupyter]
3030

3131
- repo: https://github.com/pre-commit/mirrors-mypy
32-
rev: "v1.17.0"
32+
rev: "v1.17.1"
3333
hooks:
3434
- id: mypy
3535
args: [--ignore-missing-imports, --config-file, .mypy.ini]

src/redis_func_cache/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,4 @@ def filter(self, lexer, stream, options):
114114
return "\n".join(s for line in code.splitlines() if (s := line.strip()))
115115

116116
else: # pragma: no cover
117-
warn("pygments is not installed, return source code as is", ImportWarning)
118117
return source

0 commit comments

Comments
 (0)