Skip to content
Open
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 24.2.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0
hooks:
- id: black
name: black
Expand All @@ -23,7 +23,7 @@ repos:
additional_dependencies: [".[jupyter]"]

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
rev: 1.9.1
hooks:
- id: nbqa-pyupgrade
args: ["--py310-plus"]
Expand All @@ -32,7 +32,7 @@ repos:
args: ["--extend-ignore=E402"]

- repo: https://github.com/pycqa/flake8
rev: 7.0.0
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -46,26 +46,26 @@ repos:
)

- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.9.1
hooks:
- id: nbstripout
description: Strip output from jupyter notebooks
args: [--drop-empty-cells]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py310-plus]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 8.0.1
hooks:
- id: isort
args: ["--force-single-line-imports"]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-builtin-literals
- id: check-added-large-files
Expand Down
2 changes: 1 addition & 1 deletion cascade/beach_dune_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def filter_overwash(

# dam^3/dam
overwash_to_shoreface = total_overwash_removal_shoreface_volume / barrier_length
(x_s, s_sf, beach_width) = shoreface_nourishment(
x_s, s_sf, beach_width = shoreface_nourishment(
x_s, # dam
x_t, # dam
overwash_to_shoreface, # dam^3/dam
Expand Down
6 changes: 3 additions & 3 deletions scripts/old_plot_tests/plot_B3D-BMI_vs_B3D-Cascade.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""
Plot check that barrier3d call in cascade matches bmi
Plot check that barrier3d call in cascade matches bmi
NOTE to users:
- if using Barrier3D for the first time, remember to $ pip install -e .
NOTE to users:
- if using Barrier3D for the first time, remember to $ pip install -e .
"""

import time
Expand Down
Loading