diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f1decf7772..c4424513d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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] diff --git a/pyiceberg/conversions.py b/pyiceberg/conversions.py index f2590b1880..83ff172993 100644 --- a/pyiceberg/conversions.py +++ b/pyiceberg/conversions.py @@ -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: