Skip to content

Commit

Permalink
Code climate: Diff screen view objects: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislaw committed Nov 10, 2024
1 parent db0e4ff commit 2698b5b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,11 @@ def render_screen(self, jinja_environment: JinjaEnvironment) -> Markup:
def render_url(self, url: str) -> Markup:
return Markup(self.link_renderer.render_url(url))

def render_node_link(self, incoming_link, document, document_type) -> str:
return self.link_renderer.render_node_link(
incoming_link, document, document_type
)

def render_static_url(self, url: str) -> Markup:
return Markup(self.link_renderer.render_static_url(url))

def render_static_url_with_prefix(self, url: str) -> str:
return self.link_renderer.render_static_url_with_prefix(url)

def render_local_anchor(self, node) -> str:
return self.link_renderer.render_local_anchor(node)

def is_empty_tree(self) -> bool:
return self.document_tree_iterator.is_empty_tree()

def date_today(self) -> str:
return datetime.today().strftime("%Y-%m-%d")
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,11 @@ def render_screen(self, jinja_environment: JinjaEnvironment) -> Markup:
def render_url(self, url: str) -> Markup:
return Markup(self.link_renderer.render_url(url))

def render_node_link(self, incoming_link, document, document_type) -> str:
return self.link_renderer.render_node_link(
incoming_link, document, document_type
)

def render_static_url(self, url: str) -> Markup:
return Markup(self.link_renderer.render_static_url(url))

def render_static_url_with_prefix(self, url: str) -> str:
return self.link_renderer.render_static_url_with_prefix(url)

def render_local_anchor(self, node) -> str:
return self.link_renderer.render_local_anchor(node)

def date_today(self) -> str:
return datetime.today().strftime("%Y-%m-%d")

0 comments on commit 2698b5b

Please sign in to comment.