mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-05 07:18:30 +01:00
update ruff and enable flake8-logging-format and flake8-type-checking (#8894)
* update ruff and enable flake8-logging-format and flake8-type-checking check * Update dvc/external_repo.py * Update dvc/fs/dvc.py * Update dvc/repo/experiments/__init__.py * Update dvc/repo/experiments/queue/base.py * Update pyproject.toml
This commit is contained in:
+1
-3
@@ -1,4 +1,4 @@
|
||||
from typing import TYPE_CHECKING, Any, AnyStr, Dict, List, Optional, Union
|
||||
from typing import TYPE_CHECKING, Any, AnyStr, Dict, List, Union
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from os import PathLike
|
||||
@@ -8,7 +8,5 @@ BytesPath = Union[bytes, "PathLike[bytes]"]
|
||||
GenericPath = Union[AnyStr, "PathLike[AnyStr]"]
|
||||
StrOrBytesPath = Union[str, bytes, "PathLike[str]", "PathLike[bytes]"]
|
||||
|
||||
OptStr = Optional[str]
|
||||
TargetType = Union[List[str], str]
|
||||
DictStrAny = Dict[str, Any]
|
||||
DictAny = Dict[Any, Any]
|
||||
|
||||
Reference in New Issue
Block a user