Skip to content

Commit db58ca2

Browse files
committed
Removed items.
1 parent 3cb9908 commit db58ca2

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

bittensor/utils/easy_imports.py

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@
5555
SubnetState,
5656
WeightCommitInfo,
5757
)
58-
from bittensor.core.config import (
59-
InvalidConfigFile,
60-
DefaultConfig,
61-
Config,
62-
T,
63-
)
58+
from bittensor.core.config import Config
6459
from bittensor.core.dendrite import Dendrite
6560
from bittensor.core.errors import (
6661
BlacklistedException,
@@ -245,10 +240,7 @@ def info(on: bool = True):
245240
"SubnetInfo",
246241
"SubnetState",
247242
"WeightCommitInfo",
248-
"InvalidConfigFile",
249-
"DefaultConfig",
250243
"Config",
251-
"T",
252244
"Dendrite",
253245
"BlacklistedException",
254246
"ChainConnectionError",
@@ -318,19 +310,6 @@ def info(on: bool = True):
318310
"wallet",
319311
"subtensor",
320312
"synapse",
321-
"__blocktime__",
322-
"__network_explorer_map__",
323-
"__pipaddress__",
324-
"__ss58_format__",
325-
"__type_registry__",
326-
"__ss58_address_length__",
327-
"__networks__",
328-
"__finney_entrypoint__",
329-
"__finney_test_entrypoint__",
330-
"__archive_entrypoint__",
331-
"__local_entrypoint__",
332-
"__tao_symbol__",
333-
"__rao_symbol__",
334313
"trace",
335314
"debug",
336315
"warning",

tests/unit_tests/test_easy_imports.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
[
1010
a
1111
for a in dir(easy_imports)
12-
if (not a.startswith("__") and a not in ["sys", "importlib"]) # we don't care about systemwide pkgs
12+
if (
13+
not a.startswith("__") and a not in ["sys", "importlib"]
14+
) # we don't care about systemwide pkgs
1315
],
1416
)
1517
def test_easy_imports(attr):

0 commit comments

Comments
 (0)