Skip to content

Commit

Permalink
ci(pre-commit.ci): autoupdate (#153)
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.1.6 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.6...v0.2.0)
- [github.com/psf/black: 23.11.0 → 24.1.1](psf/black@23.11.0...24.1.1)
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](abravalheri/validate-pyproject@v0.15...v0.16)
- [github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.8.0](pre-commit/mirrors-mypy@v1.7.1...v1.8.0)

* 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 Feb 6, 2024
1 parent 1f065a5 commit b0990ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ repos:
args: ["--autofix"]

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

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.8.0
hooks:
- id: mypy
additional_dependencies:
Expand Down
6 changes: 2 additions & 4 deletions src/useq/pycromanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ class PycroManagerEvent(TypedDict, total=False):


@overload
def to_pycromanager(obj: MDAEvent) -> PycroManagerEvent:
...
def to_pycromanager(obj: MDAEvent) -> PycroManagerEvent: ...


@overload
def to_pycromanager(obj: MDASequence) -> list[PycroManagerEvent]:
...
def to_pycromanager(obj: MDASequence) -> list[PycroManagerEvent]: ...


def to_pycromanager(
Expand Down

0 comments on commit b0990ad

Please sign in to comment.