Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PokemonGoF/PokemonGo-Bot
/ is_valid_plugin
Method
is_valid_plugin
pokemongo_bot/plugin_loader.py:55–56 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
53
self.plugin_parts = self.get_github_parts()
54
55
def
is_valid_plugin(self):
56
return
self.plugin_parts is not None
57
58
def
get_github_parts(self):
59
groups = re.match(
'(.*)\/(.*)#(.*)'
, self.plugin_name)
Callers
3
load_plugin
Method · 0.95
test_get_github_parts_for_valid_github
Method · 0.95
test_get_github_parts_for_invalid_github
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_get_github_parts_for_valid_github
Method · 0.76
test_get_github_parts_for_invalid_github
Method · 0.64