Skip to content

Adds __all__ to easy_imports.py to get rid of all the #noqa stuff#2863

Merged
basfroman merged 7 commits intostagingfrom
fix/thewhaleking/add-all-easy-imports
May 7, 2025
Merged

Adds __all__ to easy_imports.py to get rid of all the #noqa stuff#2863
basfroman merged 7 commits intostagingfrom
fix/thewhaleking/add-all-easy-imports

Conversation

@thewhaleking
Copy link
Contributor

@thewhaleking thewhaleking commented May 7, 2025

The massive amount of import x as x and # noqa: F401 annoyed me greatly. This resolves that.

For release notes. The following will no longer be available as bittensor attributes:

  • __blocktime__
  • __network_explorer_map__
  • __pipaddress__
  • __ss58_format__
  • __type_registry__
  • __ss58_address_length__
  • __networks__
  • __finney_entrypoint__
  • __finney_test_entrypoint__
  • __archive_entrypoint__
  • __local_entrypoint__
  • __tao_symbol__
  • __rao_symbol__
  • InvalidConfigFile
  • DefaultConfig
  • T

@thewhaleking thewhaleking requested a review from a team May 7, 2025 20:41
Base automatically changed from feat/roman/subtensor-api to staging May 7, 2025 21:08
basfroman
basfroman previously approved these changes May 7, 2025
@basfroman basfroman merged commit d0197d8 into staging May 7, 2025
125 checks passed
@thewhaleking thewhaleking deleted the fix/thewhaleking/add-all-easy-imports branch May 7, 2025 22:09
@ibraheem-abe ibraheem-abe mentioned this pull request May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants