diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b3bc5b5..fbfcadb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,11 +18,11 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.10 + rev: v0.14.14 hooks: - id: ruff - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-mypy diff --git a/examples/download/mpin_api.py b/examples/download/mpin_api.py index 19ff88d..21a9cc0 100644 --- a/examples/download/mpin_api.py +++ b/examples/download/mpin_api.py @@ -3,6 +3,7 @@ If it's the first time using this API, you'll have to download the dataset with all of the neurons' data. """ + from vedo import Plotter from morphapi.api.mpin_celldb import MpinMorphologyAPI diff --git a/morphapi/api/mouselight.py b/morphapi/api/mouselight.py index eaeb029..e65556c 100644 --- a/morphapi/api/mouselight.py +++ b/morphapi/api/mouselight.py @@ -175,9 +175,7 @@ def make_query(filterby=None, filter_regions=None, invert=False): {} }} }} - """.format( - searchneurons - ) + """.format(searchneurons) else: raise NotImplementedError("This feature is not available yet") # Get predicate type