Skip to content

Commit

Permalink
Fix issues detected by flake8 on Python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Jun 5, 2024
1 parent 7fcac9e commit 931f40c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grizzly/common/fuzzmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def __getattr__(self, name: str) -> Any:
self._data = self._coll.get(self._url).json()
if name not in self._data:
raise AttributeError(
f"'{type(self).__name__,}' object has no attribute '{name}'"
f"'{type(self).__name__}' object has no attribute '{name}'"
f" (has: {list(self._data)})"
)
return self._data[name]
Expand Down
2 changes: 1 addition & 1 deletion grizzly/common/status_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ def main(argv: Optional[List[str]] = None) -> int:
"--time-limit",
type=int,
help="Maximum age of reports in seconds. Use zero for no limit."
f" (default: {', '.join(f'{k}: {v}' for k, v in report_types.items())})",
f" (default: {', '.join(f'{k}: {v}' for k, v in report_types.items())})",
)
parser.add_argument(
"--tracebacks",
Expand Down

0 comments on commit 931f40c

Please sign in to comment.