Skip to content

Commit fe3747d

Browse files
authored
Merge branch 'main' into add-missing-provider-tests
2 parents 83370d8 + 837fef9 commit fe3747d

23 files changed

+670
-335
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
default_stages: [pre-commit]
22
repos:
33
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.12.4
4+
rev: v0.13.0
55
hooks:
66
- id: ruff-check
77
args: [--fix]
88
- id: ruff-format
99

1010
- repo: https://github.com/pre-commit/pre-commit-hooks
11-
rev: v5.0.0
11+
rev: v6.0.0
1212
hooks:
1313
- id: check-toml
1414
- id: check-yaml
1515
- id: trailing-whitespace
1616
- id: check-merge-conflict
1717

1818
- repo: https://github.com/pre-commit/mirrors-mypy
19-
rev: v1.17.1
19+
rev: v1.18.1
2020
hooks:
2121
- id: mypy
22-
files: openfeature
22+
files: openfeature|tests/typechecking

openfeature/_event_support.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from __future__ import annotations
22

33
import threading
4+
import typing
45
from collections import defaultdict
5-
from typing import TYPE_CHECKING
66

77
from openfeature.event import (
88
EventDetails,
@@ -12,7 +12,7 @@
1212
)
1313
from openfeature.provider import FeatureProvider, ProviderStatus
1414

15-
if TYPE_CHECKING:
15+
if typing.TYPE_CHECKING:
1616
from openfeature.client import OpenFeatureClient
1717

1818

0 commit comments

Comments
 (0)