diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 04a6f8be..c8152543 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,17 +1,17 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace -- repo: https://github.com/psf/black - rev: 23.3.0 +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.9.0 hooks: - id: black exclude: ^docs/ - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort exclude: ^docs/ diff --git a/nwbwidgets/misc.py b/nwbwidgets/misc.py index cb39abd1..c4063646 100644 --- a/nwbwidgets/misc.py +++ b/nwbwidgets/misc.py @@ -322,7 +322,7 @@ def __init__( gas=self.gas, plot_type=self.psth_type_radio, sigma_in_secs=self.gaussian_sd_ft, - nbins=self.bins_ft + nbins=self.bins_ft, # progress_bar=fixed(progress_bar) ) diff --git a/nwbwidgets/utils/cmaps.py b/nwbwidgets/utils/cmaps.py index 044b0cc0..9eef3069 100644 --- a/nwbwidgets/utils/cmaps.py +++ b/nwbwidgets/utils/cmaps.py @@ -1,6 +1,7 @@ """ Taken from https://github.com/maartenbreddels/ipyvolume/pull/178 """ + import matplotlib.cm import matplotlib.colors import numpy as np diff --git a/nwbwidgets/view.py b/nwbwidgets/view.py index 2dbf2e19..bfb1b1ee 100644 --- a/nwbwidgets/view.py +++ b/nwbwidgets/view.py @@ -9,7 +9,9 @@ from ndx_icephys_meta.icephys import SweepSequences from ndx_spectrum import Spectrum -from .base import dict2accordion +from .base import ( + dict2accordion, +) from .base import nwb2widget as nwb2widget_base from .base import ( processing_module,