Skip to content

Commit

Permalink
chore(deps-dev): Bump ruff from 0.5.6 to 0.6.8 (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Oct 4, 2024
1 parent 8eef6d1 commit 613c050
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 23 deletions.
1 change: 1 addition & 0 deletions example/awesome/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import orjson
import requests

from vunnel import utils, workspace

# NOTE, CHANGE ME!: this namespace should be unique to your provider and match expectations from
Expand Down
1 change: 1 addition & 0 deletions example/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import awesome
import orjson

from vunnel import provider, result

fakedata = [
Expand Down
40 changes: 20 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ types-requests = "^2.28.11.7"
mypy = "^1.1"
radon = ">=5.1,<7.0"
dunamai = "^1.15.0"
ruff = ">=0.5.1,<0.5.7"
ruff = ">=0.5.1,<0.6.9"
yardstick = {git = "https://github.com/anchore/yardstick", rev = "v0.10.0"}
# yardstick = {path = "../yardstick", develop=true }
tabulate = "0.9.0"
Expand Down
3 changes: 1 addition & 2 deletions src/vunnel/providers/ubuntu/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,7 @@ def map_parsed(parsed_cve: CVEFile, logger: logging.Logger | None = None): # no
# Check for max priority of all packages with it set
if p.priority:
pkg_sev = getattr(Severity, p.priority.capitalize())
if pkg_sev > r.Severity:
r.Severity = pkg_sev
r.Severity = max(pkg_sev, r.Severity)

return set(vulns.values())

Expand Down

0 comments on commit 613c050

Please sign in to comment.