Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(pre-commit.ci): pre-commit autoupdate #72

Merged
merged 3 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading