This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new d5930df Build: Update pre-commit (#85)
d5930df is described below
commit d5930dfcd34d61fc87659384c791f1c0abe0cace
Author: Fokko Driesprong <[email protected]>
AuthorDate: Sun Nov 5 19:17:11 2023 +0100
Build: Update pre-commit (#85)
---
.pre-commit-config.yaml | 10 +++++-----
pyiceberg/conversions.py | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f1decf7..c442451 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 f2590b1..83ff172 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: