Skip to content

Commit

Permalink
Merge pull request #72 from funkelab/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
ci(pre-commit.ci): autoupdate
  • Loading branch information
tlambert03 authored Feb 6, 2024
2 parents 3ec2916 + 0b75a92 commit 3d56e6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.2.0
hooks:
- id: ruff
args: [--fix, --unsafe-fixes]

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

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.1
rev: v1.8.0
hooks:
- id: mypy
files: "^motile/"
6 changes: 2 additions & 4 deletions motile/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,11 @@ def edge_alpha_func(edge: EdgeId) -> float:


@overload
def _to_rgba(color: list[Color], alpha: float | list[float] = 1.0) -> list[str]:
...
def _to_rgba(color: list[Color], alpha: float | list[float] = 1.0) -> list[str]: ...


@overload
def _to_rgba(color: Color, alpha: float | list[float] = 1.0) -> str:
...
def _to_rgba(color: Color, alpha: float | list[float] = 1.0) -> str: ...


def _to_rgba(
Expand Down

0 comments on commit 3d56e6a

Please sign in to comment.