Skip to content

Commit f7c0e6f

Browse files
[pre-commit.ci] pre-commit autoupdate (#318)
<!--pre-commit.ci start--> updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](astral-sh/ruff-pre-commit@v0.7.3...v0.7.4) <!--pre-commit.ci end--> --------- Signed-off-by: Alexander Piskun <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alexander Piskun <[email protected]>
1 parent d1656ff commit f7c0e6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
- id: pyproject-fmt
4242

4343
- repo: https://github.com/astral-sh/ruff-pre-commit
44-
rev: v0.7.3
44+
rev: v0.7.4
4545
hooks:
4646
- id: ruff
4747

nc_py_api/ex_app/misc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def verify_version(finalize_update: bool = True) -> tuple[str, str] | None:
3333
"""
3434
version_file_path = os.path.join(persistent_storage(), "_version.info")
3535
r = None
36-
with open(version_file_path, "a+t", encoding="UTF-8") as version_file:
36+
with open(version_file_path, "a+", encoding="UTF-8") as version_file:
3737
version_file.seek(0)
3838
old_version = version_file.read()
3939
if old_version != os.environ["APP_VERSION"]:

0 commit comments

Comments
 (0)