We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3668cb1 commit 604a0cfCopy full SHA for 604a0cf
jellyash/bundle.py
@@ -1,5 +1,6 @@
1
import sys
2
-from typing import Dict, Iterator, Union
+from collections.abc import Iterator
3
+from typing import Union
4
5
if sys.version_info >= (3, 11): # pragma: no cover
6
from typing import Self
@@ -10,10 +11,10 @@
10
11
12
13
class Item:
- def __init__(self, item: Dict[str, str]):
14
+ def __init__(self, item: dict[str, str]):
15
self.item = item
16
- def _raw_item(self) -> Dict[str, str]:
17
+ def _raw_item(self) -> dict[str, str]:
18
return self.item
19
20
def __getattr__(self, attr: str) -> Union[str, Self]:
tox.ini
@@ -26,4 +26,5 @@ deps =
26
ruff
27
commands =
28
ruff check --exit-non-zero-on-fix jellyash tests
29
+ ruff format --diff jellyash tests
30
0 commit comments