Skip to content

Commit

Permalink
ci: [pre-commit.ci] autoupdate (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Jun 6, 2023
1 parent ae186df commit dc255bd
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 @@ -17,18 +17,18 @@ repos:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.263
rev: v0.0.270
hooks:
- id: ruff
args: ["--fix"]

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.12.2
rev: v0.13
hooks:
- id: validate-pyproject

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
rev: v1.3.0
hooks:
- id: mypy
exclude: tests|examples
Expand Down
4 changes: 2 additions & 2 deletions src/superqt/fonticon/_qfont_icon.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import annotations

import warnings
from collections import abc
from collections import abc, defaultdict
from dataclasses import dataclass
from pathlib import Path
from typing import DefaultDict, Sequence, Tuple, Union, cast
Expand Down Expand Up @@ -157,7 +157,7 @@ class _QFontIconEngine(QIconEngine):

def __init__(self, options: _IconOptions):
super().__init__()
self._opts: DefaultDict[
self._opts: defaultdict[
QIcon.State, dict[QIcon.Mode, _IconOptions | None]
] = DefaultDict(dict)
self._opts[QIcon.State.Off][QIcon.Mode.Normal] = options
Expand Down

0 comments on commit dc255bd

Please sign in to comment.