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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
Expand All @@ -9,13 +9,13 @@ repos:
- id: debug-statements

- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
rev: v3.13.0
hooks:
- id: reorder-python-imports
exclude: ^sandbox/|^demo/

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 24.4.2
hooks:
- id: black
exclude: ^sandbox/
Expand All @@ -33,12 +33,12 @@ repos:
exclude: ^sandbox/

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.10.0
hooks:
- id: mypy
exclude: ^(sandbox/|setup.py|demo)

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v7.3.1
rev: v8.9.0
hooks:
- id: cspell
6 changes: 3 additions & 3 deletions python/goss/dolfinutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,9 @@ def __init__( # noqa: C901
] = (ode.field_params[param].vector().get_local())

else:
self._param_values[label][
local_id :: ode.num_field_parameters
] = ode.get_parameter(param)
self._param_values[label][local_id :: ode.num_field_parameters] = (
ode.get_parameter(param)
)

# Reset any changed field parameters
ode.changed_field_parameters = []
Expand Down