chore(lint): bump ruff from 0.6.9 to 0.7.3 (#10714)

This commit is contained in:
Bowen Liang 2024-11-15 09:19:41 +08:00 committed by GitHub
commit 365cb4b368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 31 additions and 27 deletions

View file

@ -1,4 +1,5 @@
import os
from collections import UserDict
from unittest.mock import MagicMock
import pytest
@ -14,7 +15,7 @@ from tests.unit_tests.oss.__mock.base import (
)
class AttrDict(dict):
class AttrDict(UserDict):
def __getattr__(self, item):
return self.get(item)