Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions for pre-commit hooks #200

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading