Skip to content

Commit

Permalink
chore: update pre-commit hooks (#386)
Browse files Browse the repository at this point in the history
* chore: update pre-commit hooks

updates:
- [github.com/psf/black-pre-commit-mirror: 23.10.0 → 23.10.1](psf/black-pre-commit-mirror@23.10.0...23.10.1)
- [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.4](astral-sh/ruff-pre-commit@v0.1.1...v0.1.4)

* style: pre-commit 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 Nov 8, 2023
1 parent 207bdd1 commit 17b83d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.10.0
rev: 23.10.1
hooks:
- id: black-jupyter

Expand All @@ -24,7 +24,7 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.1"
rev: "v0.1.4"
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 1 addition & 1 deletion src/decaylanguage/decay/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

Self_DaughtersDict = TypeVar("Self_DaughtersDict", bound="DaughtersDict")

if TYPE_CHECKING: # noqa: SIM108
if TYPE_CHECKING:
CounterStr = Counter[str] # pragma: no cover
else:
CounterStr = Counter
Expand Down

0 comments on commit 17b83d0

Please sign in to comment.