Skip to content

Commit

Permalink
Build: Update pre-commit (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko authored Nov 5, 2023
1 parent 3dd6776 commit d5930df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exclude: ^vendor/

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -29,23 +29,23 @@ repos:
- id: check-ast
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version (Used for linting)
rev: v0.0.291
rev: v0.1.0
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- repo: https://github.com/ambv/black
rev: 23.9.1
rev: 23.10.0
hooks:
- id: black
args: [--skip-string-normalization]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.6.1
hooks:
- id: mypy
args:
[--install-types, --non-interactive, --config=pyproject.toml]
- repo: https://github.com/hadialqattan/pycln
rev: v2.2.2
rev: v2.3.0
hooks:
- id: pycln
args: [--config=pyproject.toml]
Expand Down
2 changes: 1 addition & 1 deletion pyiceberg/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def _(primitive_type: DecimalType, value: Decimal) -> bytes:


@singledispatch
def from_bytes(primitive_type: PrimitiveType, b: bytes) -> L:
def from_bytes(primitive_type: PrimitiveType, b: bytes) -> L: # type: ignore
"""Convert bytes to a built-in python value.
Args:
Expand Down

0 comments on commit d5930df

Please sign in to comment.