Skip to content

Commit

Permalink
build(pre-commit.ci): pre-commit autoupdate (#72)
Browse files Browse the repository at this point in the history
* build(pre-commit.ci): pre-commit autoupdate

updates:
- [github.com/compilerla/conventional-pre-commit: v3.1.0 → v3.2.0](compilerla/conventional-pre-commit@v3.1.0...v3.2.0)
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.5.0](astral-sh/ruff-pre-commit@v0.2.0...v0.5.0)
- [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.10.1](pre-commit/mirrors-mypy@v1.8.0...v1.10.1)
- [github.com/pdm-project/pdm: 2.12.3 → 2.16.1](pdm-project/pdm@2.12.3...2.16.1)
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/dosisod/refurb: v1.28.0 → v2.0.0](dosisod/refurb@v1.28.0...v2.0.0)
- [github.com/FHPythonUtils/LicenseCheck: 2024 → 2024.2](FHPythonUtils/LicenseCheck@2024...2024.2)

* fix(pre-commit.ci): auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kamil Raczycki <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and RaczeQ authored Jul 21, 2024
1 parent 46a95a6 commit 41b24d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
default_stages: [commit]
repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v3.1.0
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.2.0'
rev: 'v0.5.0'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -19,12 +19,12 @@ repos:
additional_dependencies: [tomli]
args: ["--in-place", "--config", "./pyproject.toml"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.10.1
hooks:
- id: mypy
additional_dependencies: ['types-requests', 'types-six']
- repo: https://github.com/pdm-project/pdm
rev: 2.12.3
rev: 2.16.1
hooks:
- id: pdm-lock-check
- id: pdm-export
Expand All @@ -36,7 +36,7 @@ repos:
hooks:
- id: nbstripout
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -47,15 +47,15 @@ repos:
args: ['--maxkb=1000']
- id: detect-private-key
- repo: https://github.com/dosisod/refurb
rev: v1.28.0
rev: v2.0.0
hooks:
- id: refurb
args: ["--python-version", "3.9", "--format", "github"]
language: python
language_version: python3.10
stages: [manual]
- repo: https://github.com/FHPythonUtils/LicenseCheck
rev: "2024"
rev: "2024.2"
hooks:
- id: licensecheck
stages: [manual]
Expand Down
2 changes: 1 addition & 1 deletion quackosm/pbf_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,7 @@ def _parse_features_relation_to_groups(
):
return features_relation

grouped_features_relation: "duckdb.DuckDBPyRelation"
grouped_features_relation: duckdb.DuckDBPyRelation
grouped_tags_filter = cast(GroupedOsmTagsFilter, self.expanded_tags_filter)

if explode_tags:
Expand Down

0 comments on commit 41b24d0

Please sign in to comment.