Skip to content

Commit bbce232

Browse files
authored
[pre-commit.ci] pre-commit autoupdate (#550)
<!--pre-commit.ci start--> updates: - [github.com/asottile/pyupgrade: v3.21.0 → v3.21.2](asottile/pyupgrade@v3.21.0...v3.21.2) - [github.com/astral-sh/ruff-pre-commit: v0.14.3 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.3...v0.14.7) - [github.com/kynan/nbstripout: 0.8.1 → 0.8.2](kynan/nbstripout@0.8.1...0.8.2) - [github.com/python-jsonschema/check-jsonschema: 0.34.1 → 0.35.0](python-jsonschema/check-jsonschema@0.34.1...0.35.0) - [github.com/woodruffw/zizmor-pre-commit: v1.16.2 → v1.18.0](zizmorcore/zizmor-pre-commit@v1.16.2...v1.18.0) - [github.com/gitleaks/gitleaks: v8.28.0 → v8.30.0](gitleaks/gitleaks@v8.28.0...v8.30.0) <!--pre-commit.ci end-->
2 parents 716994b + a46edbd commit bbce232

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ updates:
1313
actions:
1414
patterns:
1515
- "*"
16+
cooldown:
17+
default-days: 7
1618

1719
- package-ecosystem: pip
1820
directory: /
@@ -25,3 +27,5 @@ updates:
2527
python:
2628
patterns:
2729
- "pyproject.toml"
30+
cooldown:
31+
default-days: 7

.github/workflows/testdata-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
if: |
2020
(github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
2121
permissions:
22+
# Needed in order to leave comments on pull requests
2223
pull-requests: write
2324
steps:
2425
- name: Harden Runner

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33

44
repos:
55
- repo: https://github.com/asottile/pyupgrade
6-
rev: v3.21.0
6+
rev: v3.21.2
77
hooks:
88
- id: pyupgrade
99
args: [ '--py39-plus' ]
@@ -49,7 +49,7 @@ repos:
4949
- id: rst-inline-touching-normal
5050
- id: text-unicode-replacement-char
5151
- repo: https://github.com/astral-sh/ruff-pre-commit
52-
rev: v0.14.3
52+
rev: v0.14.7
5353
hooks:
5454
- id: ruff-check
5555
args: [ '--fix', '--show-fixes' ]
@@ -73,9 +73,9 @@ repos:
7373
hooks:
7474
- id: nbqa-pyupgrade
7575
args: [ '--py39-plus' ]
76-
additional_dependencies: [ 'pyupgrade==3.20.0' ]
76+
additional_dependencies: [ 'pyupgrade==3.21.2' ]
7777
- repo: https://github.com/kynan/nbstripout
78-
rev: 0.8.1
78+
rev: 0.8.2
7979
hooks:
8080
- id: nbstripout
8181
files: ".ipynb"
@@ -92,17 +92,17 @@ repos:
9292
- id: numpydoc-validation
9393
exclude: "^docs/|^tests/"
9494
- repo: https://github.com/python-jsonschema/check-jsonschema
95-
rev: 0.34.1
95+
rev: 0.35.0
9696
hooks:
9797
- id: check-github-workflows
9898
- id: check-readthedocs
9999
- repo: https://github.com/woodruffw/zizmor-pre-commit
100-
rev: v1.16.2
100+
rev: v1.18.0
101101
hooks:
102102
- id: zizmor
103103
args: [ '--config=.zizmor.yml' ]
104104
- repo: https://github.com/gitleaks/gitleaks
105-
rev: v8.28.0
105+
rev: v8.30.0
106106
hooks:
107107
- id: gitleaks
108108
- repo: meta

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ dev = [
8585
"pytest-xdist >=3.2.0",
8686
"requests >=2.32.2",
8787
"ruff >=0.14.3",
88+
"setuptools >=71.0.0",
8889
"tox >=4.30.3",
8990
"vulture >=2.14",
9091
"watchdog >=4.0.0"

tox.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ envlist = [
33
"py3.{10,11,12,13}",
44
"docs"
55
]
6-
requires = [
7-
"flit >= 3.11.0,<4.0",
8-
"pip >= 25.2",
9-
"setuptools >= 71.0",
10-
"tox >= 4.30.3"
11-
]
126
skip_missing_interpreters = true
137

148
[env.docs]
@@ -45,7 +39,7 @@ passenv = ["CI", "COVERALLS_*", "GDAL_VERSION", "GITHUB_*", "LD_LIBRARY_PATH", "
4539
extras = ["dev", "gis", "raven-hydro"]
4640
download = true
4741
install_command = ["python", "-m", "pip", "install", "--no-user", "{opts}", "{packages}"]
48-
deps = ["numpy >= 1.25.0", "gdal == {env:GDAL_VERSION}"]
42+
deps = ["numpy >= 1.25.0", "gdal == {env:GDAL_VERSION}.*"]
4943
commands_pre = [
5044
["python", "-m", "pip", "list"],
5145
["python", "-m", "pip", "check"]

0 commit comments

Comments
 (0)