File tree Expand file tree Collapse file tree
src/hermes_plugin_software_card Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def create_report(self):
5858 else :
5959 print (
6060 "Find the Software CaRD user interface at:" ,
61- environment .format_app_url ("https://example.com" , environment ),
61+ environment .format_app_url ("https://example.com" , self . _environment ),
6262 )
6363
6464 def is_publication_approved (self ) -> bool :
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def from_env(cls) -> Self | None:
111111
112112 return super ().from_env ()
113113
114- def url_data (self ):
114+ def url_data (self ) -> dict [ str , str ] :
115115 """Return the data to be passed to the Software CaRD user interface."""
116116 return {
117117 "gitlab_ci_server" : self .ci_server_url ,
@@ -165,7 +165,7 @@ def from_env(cls) -> Self | None:
165165
166166 return super ().from_env ()
167167
168- def url_data (self ):
168+ def url_data (self ) -> dict [ str , str ] :
169169 """Return the data to be passed to the Software CaRD user interface."""
170170 return {
171171 "github_ci_server" : self .github_server_url ,
You can’t perform that action at this time.
0 commit comments