Skip to content

Commit

Permalink
Remove black from pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Dec 14, 2023
1 parent 753b127 commit 3b2a84b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ repos:
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/psf/black
rev: 23.9.1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.8
hooks:
- id: black
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
hooks:
Expand Down
4 changes: 1 addition & 3 deletions src/ghga_connector/core/api_calls/work_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ def _check_public_key(self, token: str):
base64.b64decode(token.split(".", 2)[1]).decode("utf-8")
)["user_public_crypt4gh_key"] != base64.b64encode(
self.my_public_key
).decode(
"ascii"
)
).decode("ascii")
except Exception: # pylint: disable=broad-exception-caught
mismatch = False
if mismatch:
Expand Down

0 comments on commit 3b2a84b

Please sign in to comment.