Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (deepmodeling#4115)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.3 →
v0.6.4](astral-sh/ruff-pre-commit@v0.6.3...v0.6.4)
<!--pre-commit.ci end-->

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
2 people authored and Mathieu Taillefumier committed Sep 18, 2024
1 parent 955abef commit b4bde2d
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 @@ -29,7 +29,7 @@ repos:
exclude: ^source/3rdparty
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.3
rev: v0.6.4
hooks:
- id: ruff
args: ["--fix"]
Expand Down
2 changes: 1 addition & 1 deletion source/install/build_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# https://stackoverflow.com/a/41901923/9567349
import sys

if sys.version_info[0] < 3:
if sys.version_info[0] < 3: # noqa: UP036
raise Exception("Python 3 or a more recent version is required.")

# The script should only rely on the stardard Python libraries.
Expand Down

0 comments on commit b4bde2d

Please sign in to comment.