Skip to content

Commit

Permalink
Bump ruff from 0.0.278 to 0.0.281 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReK42 authored Aug 1, 2023
2 parents 61bdf6a + d4700c9 commit 2b7ba60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- types-PyYAML
- types-passlib
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.278
rev: v0.0.281
hooks:
- id: ruff
language_version: python3.11
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ passhash = "passhash:main"
tests = [
"black == 23.7.0",
"mypy == 1.4.1",
"ruff == 0.0.278",
"ruff == 0.0.281",
"types-PyYAML == 6.0.12.11",
"types-passlib == 1.7.7.12",
]
Expand Down
2 changes: 1 addition & 1 deletion src/passhash/passhash.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def main() -> int:
password_hash = crypt.hash(args.password, user=args.username)
else:
password_hash = crypt.hash(args.password)
except TypeError: # noqa: PERF203
except TypeError:
results[algorithm] = (
"[bold red]:warning: Invalid parameter[/bold red]",
"",
Expand Down

0 comments on commit 2b7ba60

Please sign in to comment.