From 04d54eecdb22c9613d40c036d1b00c7b8d52ccf5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:34:31 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.1.13) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 755dbbf..3af190b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.11' + rev: 'v0.1.13' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From b6c6d7adb87e57b3854af80811f81d7003fc5f41 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:34:52 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pygeoif/feature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygeoif/feature.py b/pygeoif/feature.py index 633d51d..0669d18 100644 --- a/pygeoif/feature.py +++ b/pygeoif/feature.py @@ -110,7 +110,7 @@ def __repr__(self) -> str: ) @property - def id(self) -> Optional[Union[str, int]]: # noqa: A003 + def id(self) -> Optional[Union[str, int]]: """Return the id of the feature.""" return self._feature_id