Skip to content

Commit

Permalink
[ci] Update linters
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Sep 11, 2024
1 parent 46a41f4 commit 5a0cc77
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
rev: v3.16.0
hooks:
- id: pyupgrade
args: ['--py38-plus']
- repo: https://github.com/ambv/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.1
rev: v0.6.4
hooks:
- id: ruff
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down Expand Up @@ -46,7 +46,7 @@ repos:
hooks:
- id: taskcluster_yml
- repo: https://github.com/MozillaSecurity/orion-ci
rev: v0.0.8
rev: v0.0.10
hooks:
- id: orion_ci
- repo: meta
Expand Down
2 changes: 1 addition & 1 deletion grizzly/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def parse_args(self, argv: list[str] | None = None) -> Namespace:

def sanity_check(self, args: Namespace) -> None:
if not args.binary.is_file():
self.parser.error(f"file not found: '{args.binary!s}'")
self.parser.error(f"file not found: '{args.binary}'")

# fuzzmanager reporter related checks
if args.fuzzmanager:
Expand Down
8 changes: 4 additions & 4 deletions grizzly/common/status_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,11 +905,11 @@ def summary(
(
str, # name
# duration/successes/attempts are % of total/last
partial(_format_duration, total=report.total.duration),
partial(_format_number, total=report.total.successes),
partial(_format_number, total=report.total.attempts),
partial(_format_duration, total=report.total.duration or 0),
partial(_format_number, total=report.total.successes or 0),
partial(_format_number, total=report.total.attempts or 0),
# size is % of init/1st
partial(_format_number, total=report.original.size),
partial(_format_number, total=report.original.size or 0),
None, # iterations (hidden)
),
)
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ skip_install = true
commands =
mypy --install-types --non-interactive {posargs}
deps =
mypy==v1.10.0
mypy==v1.11.2
usedevelop = true

[testenv:pylint]
commands =
pylint -j 0 {posargs}
deps =
pylint==3.2.3
pylint==3.2.7
usedevelop = true

[testenv:pypi]
Expand Down

0 comments on commit 5a0cc77

Please sign in to comment.