Skip to content

Commit

Permalink
Update versions for pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
timwoj committed Dec 10, 2024
1 parent fd29b19 commit 71c638d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: testing/baselines
Expand All @@ -11,7 +11,7 @@ repos:
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.2
rev: v0.8.2
hooks:
- id: ruff
args: [--fix]
Expand Down
4 changes: 2 additions & 2 deletions zeekpkg/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2068,8 +2068,8 @@ def __str__(self):
continue

# Suggestion status propagates to 'depends' field of suggested packages.
is_suggestion = (
node.is_suggestion or dep_name in ds and dep_name not in dd
is_suggestion = node.is_suggestion or (
dep_name in ds and dep_name not in dd
)

# If a dependency can be fulfilled by a built-in package
Expand Down

0 comments on commit 71c638d

Please sign in to comment.