Skip to content

Commit

Permalink
ci(pre-commit.ci): autoupdate (#89)
Browse files Browse the repository at this point in the history
* ci(pre-commit.ci): autoupdate

updates:
- [github.com/abravalheri/validate-pyproject: v0.22 → v0.23](abravalheri/validate-pyproject@v0.22...v0.23)
- [github.com/crate-ci/typos: typos-dict-v0.11.35 → typos-dict-v0.11.37](crate-ci/typos@typos-dict-v0.11.35...typos-dict-v0.11.37)
- [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.8.1](astral-sh/ruff-pre-commit@v0.7.3...v0.8.1)

* style(pre-commit.ci): auto fixes [...]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 30, 2024
1 parent dc73755 commit 8f1ee38
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ ci:

repos:
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.22
rev: v0.23
hooks:
- id: validate-pyproject

- repo: https://github.com/crate-ci/typos
rev: typos-dict-v0.11.35
rev: typos-dict-v0.11.37
hooks:
- id: typos
args: [--force-exclude] # omitting --write-changes

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
rev: v0.8.1
hooks:
- id: ruff
args: [--fix, --unsafe-fixes]
Expand Down
2 changes: 1 addition & 1 deletion src/microsim/_data_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def DataArray(
except ImportError:
from xarray import DataArray # type: ignore[assignment]

__all__ = ["DataArray", "xrDataArray", "ArrayProtocol"]
__all__ = ["ArrayProtocol", "DataArray", "xrDataArray"]

xrDataArray = xarray.DataArray

Expand Down
4 changes: 2 additions & 2 deletions src/microsim/allen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from ._swc import SWC

__all__ = [
"SWC",
"ApiCellTypesSpecimenDetail",
"get_reconstructions",
"NeuronReconstruction",
"Specimen",
"SWC",
"get_reconstructions",
]
6 changes: 3 additions & 3 deletions src/microsim/cosem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

__all__ = [
"CosemDataset",
"CosemView",
"CosemImage",
"CosemView",
"bucket_cache",
"clear_cache",
"fetch_datasets",
"fetch_views",
"organelles",
"bucket_cache",
"clear_cache",
]
2 changes: 1 addition & 1 deletion src/microsim/cosem/_xarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from __future__ import annotations

from collections.abc import Sequence # noqa: TCH003
from collections.abc import Sequence # noqa: TC003
from pathlib import Path
from typing import TYPE_CHECKING, Any, Literal

Expand Down
2 changes: 1 addition & 1 deletion src/microsim/fpbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from pydantic import BaseModel, Field, field_validator, model_validator

__all__ = ["get_fluorophore", "get_microscope", "FPbaseFluorophore", "FPbaseMicroscope"]
__all__ = ["FPbaseFluorophore", "FPbaseMicroscope", "get_fluorophore", "get_microscope"]


### Models ###
Expand Down
6 changes: 3 additions & 3 deletions src/microsim/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,31 @@
"BackendName",
"Bandpass",
"Camera",
"CosemLabel",
"CameraCCD",
"CameraCMOS",
"CameraEMCCD",
"Confocal",
"CosemLabel",
"DeviceName",
"DownscaledSpace",
"ExtentScaleSpace",
"Fluorophore",
"FluorophoreDistribution",
"Identity",
"SpectrumFilter",
"LightSource",
"Longpass",
"MatsLines",
"Modality",
"NumpyAPI",
"ObjectiveLens",
"OpticalConfig",
"LightSource",
"Sample",
"Settings",
"ShapeExtentSpace",
"ShapeScaleSpace",
"Shortpass",
"Simulation",
"Spectrum",
"SpectrumFilter",
"Widefield",
]
4 changes: 2 additions & 2 deletions src/microsim/schema/detectors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
Detector = CameraEMCCD | CameraCMOS | CameraCCD

__all__ = [
"Detector",
"ICX285",
"Camera",
"CameraCCD",
"CameraCMOS",
"CameraEMCCD",
"Detector",
"simulate_camera",
"ICX285",
]
2 changes: 1 addition & 1 deletion src/microsim/schema/modality/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Modality = Confocal | Widefield | Identity

__all__ = ["Identity", "Modality", "Confocal", "Widefield"]
__all__ = ["Confocal", "Identity", "Modality", "Widefield"]
6 changes: 3 additions & 3 deletions src/microsim/schema/optical_config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
from .filter import Bandpass, Longpass, Placement, Shortpass, SpectrumFilter

__all__ = [
"SpectrumFilter",
"Bandpass",
"Shortpass",
"LightSource",
"Longpass",
"OpticalConfig",
"LightSource",
"Placement",
"Shortpass",
"SpectrumFilter",
]

0 comments on commit 8f1ee38

Please sign in to comment.