Skip to content

Commit

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

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](astral-sh/ruff-pre-commit@v0.0.287...v0.0.292)
- [github.com/psf/black: 23.7.0 → 23.9.1](psf/black@23.7.0...23.9.1)
- [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6)

* 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] committed Oct 3, 2023
1 parent 7a5bfb1 commit 788590b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.0.292
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black

Expand All @@ -49,7 +49,7 @@ repos:


- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
exclude: CHANGELOG.md
Expand Down
4 changes: 2 additions & 2 deletions src/nd2/_parse/_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def load_global_metadata(
},
"volume": {
"axesCalibrated": axesCalibrated,
"axesCalibration": tuple(i if i > 0 else 1.0 for i in axesCalibration), # type: ignore # noqa: E501
"axesCalibration": tuple(i if i > 0 else 1.0 for i in axesCalibration), # type: ignore
"axesInterpretation": axInterp,
"bitsPerComponentInMemory": attrs.bitsPerComponentInMemory,
"bitsPerComponentSignificant": attrs.bitsPerComponentSignificant,
Expand Down Expand Up @@ -631,7 +631,7 @@ def load_metadata(raw_meta: RawMetaDict, global_meta: GlobalMetadata) -> strct.M
volume=strct.Volume(
**volume,
pixelToStageTransformationMatrix=(
None if _pixel_to_stage is None else tuple(_pixel_to_stage) # type: ignore # noqa
None if _pixel_to_stage is None else tuple(_pixel_to_stage) # type: ignore
),
componentCount=compCount,
componentMinima=[0.0] * compCount, # FIXME
Expand Down

0 comments on commit 788590b

Please sign in to comment.