Skip to content

Commit

Permalink
ci(pre-commit.ci): autoupdate (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Jun 6, 2023
1 parent 422db22 commit 45219cc
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -13,7 +13,7 @@ repos:
exclude: ^tests|^docs

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.260
rev: v0.0.270
hooks:
- id: ruff
args: [--fix]
Expand All @@ -25,7 +25,7 @@ repos:
exclude: ^docs

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.3.0
hooks:
- id: mypy
exclude: ^tests|^docs|_napari_plugin|widgets
3 changes: 2 additions & 1 deletion src/ome_autogen.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import builtins
import collections
import os
import re
import shutil
Expand Down Expand Up @@ -35,7 +36,7 @@
# Track all camel-to-snake and pluralization results so we can include them in the model
camel_snake_registry: dict[str, str] = {}
plural_registry: dict[tuple[str, str], str] = {}
LISTS: DefaultDict[str, set[str]] = DefaultDict(set)
LISTS: collections.defaultdict[str, set[str]] = DefaultDict(set)

# FIXME: Work out a better way to implement these override hacks.

Expand Down

0 comments on commit 45219cc

Please sign in to comment.