mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 15:28:28 +01:00
remove dvc._build (#9597)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
PKG = None
|
||||
+7
-2
@@ -1,5 +1,10 @@
|
||||
from typing import Optional
|
||||
|
||||
from . import _build
|
||||
try:
|
||||
# file is created during dvc build
|
||||
# pylint:disable=unused-import
|
||||
from . import _build # type: ignore[attr-defined, import]
|
||||
|
||||
PKG: "Optional[str]" = _build.PKG
|
||||
PKG: Optional[str] = _build.PKG # type: ignore[assignment]
|
||||
except ImportError:
|
||||
PKG = None # type: ignore[assignment]
|
||||
|
||||
Reference in New Issue
Block a user