Skip to content

Commit 3b10b61

Browse files
committed
Update ruff checker
1 parent 0256e55 commit 3b10b61

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v4.6.0
44
hooks:
55
- id: check-yaml
66
- id: end-of-file-fixer
@@ -20,7 +20,7 @@ repos:
2020
types: [pyi]
2121

2222
- repo: https://github.com/psf/black
23-
rev: 24.2.0
23+
rev: 24.4.2
2424
hooks:
2525
- id: black
2626
# It is recommended to specify the latest version of Python
@@ -30,7 +30,7 @@ repos:
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
3232
# Ruff version.
33-
rev: v0.3.0
33+
rev: v0.4.6
3434
hooks:
3535
- id: ruff
3636
args: [ --fix, --exit-non-zero-on-fix ]

exec_helpers/exec_result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def __init__(
263263

264264
self.__exit_code: ExitCodeT = proc_enums.INVALID
265265
self.__timestamp: datetime.datetime | None = None
266-
self.exit_code = exit_code # noqa: PLE0237
266+
self.exit_code = exit_code
267267

268268
self.__started: datetime.datetime | None = started
269269

0 commit comments

Comments
 (0)