Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#318)
Browse files Browse the repository at this point in the history
<!--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]>
  • Loading branch information
pre-commit-ci[bot] and bigcat88 authored Nov 22, 2024
1 parent d1656ff commit f7c0e6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
rev: v0.7.4
hooks:
- id: ruff

Expand Down
2 changes: 1 addition & 1 deletion nc_py_api/ex_app/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def verify_version(finalize_update: bool = True) -> tuple[str, str] | None:
"""
version_file_path = os.path.join(persistent_storage(), "_version.info")
r = None
with open(version_file_path, "a+t", encoding="UTF-8") as version_file:
with open(version_file_path, "a+", encoding="UTF-8") as version_file:
version_file.seek(0)
old_version = version_file.read()
if old_version != os.environ["APP_VERSION"]:
Expand Down

0 comments on commit f7c0e6f

Please sign in to comment.