Skip to content
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
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ updates:
actions:
patterns:
- "*"
cooldown:
default-days: 7

- package-ecosystem: pip
directory: /
Expand All @@ -25,3 +27,5 @@ updates:
python:
patterns:
- "pyproject.toml"
cooldown:
default-days: 7
1 change: 1 addition & 0 deletions .github/workflows/testdata-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
if: |
(github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name)
permissions:
# Needed in order to leave comments on pull requests
pull-requests: write
steps:
- name: Harden Runner
Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [ '--py39-plus' ]
Expand Down Expand Up @@ -49,7 +49,7 @@ repos:
- id: rst-inline-touching-normal
- id: text-unicode-replacement-char
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.3
rev: v0.14.7
hooks:
- id: ruff-check
args: [ '--fix', '--show-fixes' ]
Expand All @@ -73,9 +73,9 @@ repos:
hooks:
- id: nbqa-pyupgrade
args: [ '--py39-plus' ]
additional_dependencies: [ 'pyupgrade==3.20.0' ]
additional_dependencies: [ 'pyupgrade==3.21.2' ]
- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
rev: 0.8.2
hooks:
- id: nbstripout
files: ".ipynb"
Expand All @@ -92,17 +92,17 @@ repos:
- id: numpydoc-validation
exclude: "^docs/|^tests/"
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.34.1
rev: 0.35.0
hooks:
- id: check-github-workflows
- id: check-readthedocs
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.16.2
rev: v1.18.0
hooks:
- id: zizmor
args: [ '--config=.zizmor.yml' ]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.28.0
rev: v8.30.0
hooks:
- id: gitleaks
- repo: meta
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ dev = [
"pytest-xdist >=3.2.0",
"requests >=2.32.2",
"ruff >=0.14.3",
"setuptools >=71.0.0",
"tox >=4.30.3",
"vulture >=2.14",
"watchdog >=4.0.0"
Expand Down
8 changes: 1 addition & 7 deletions tox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ envlist = [
"py3.{10,11,12,13}",
"docs"
]
requires = [
"flit >= 3.11.0,<4.0",
"pip >= 25.2",
"setuptools >= 71.0",
"tox >= 4.30.3"
]
skip_missing_interpreters = true

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