Fix Ruff UP006 (deprecated annotation symbols)

This commit is contained in:
Andrej
2025-06-09 10:00:26 +05:00
parent 6eb45917fe
commit 7d4176d105
39 changed files with 231 additions and 241 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ import sys
import json
import pytest
import bonsai.core.tool
from typing import Any, Optional, Type, Union, TypedDict, Literal
from typing import Any, Optional, TypedDict, Literal
from typing_extensions import Self
@@ -277,9 +277,9 @@ class Prophecy:
- Ensure all predicted calls actually happened.
"""
subject: Type
subject: type
def __init__(self, cls: Type):
def __init__(self, cls: type):
self.subject = cls
self.predictions: list[Prediction] = []
self.calls: list[Call] = []