Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Apr 28, 2021
1 parent 6e1e997 commit df15c83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion tests/app/template_sanity_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ async def test_lists_extension(http_server_client, base_url, voila_app):
response = await http_server_client.fetch(base_url)
assert response.code == 200
html_text = response.body.decode('utf-8')
assert f'/voila/static/voila.js' in html_text
assert '/voila/static/voila.js' in html_text
4 changes: 0 additions & 4 deletions voila/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

from jupyterlab_server.config import get_page_config, recursive_update
from jupyter_server.base.handlers import JupyterHandler
from jupyter_server.config_manager import recursive_update
from jupyter_server.utils import url_path_join
import nbformat

Expand All @@ -34,8 +33,6 @@

class PageConfigMixin:
def get_page_config(self):
base_url = self.settings.get("base_url")

page_config = {
"appVersion": __version__,
"baseUrl": self.base_url,
Expand Down Expand Up @@ -64,7 +61,6 @@ def get_page_config(self):
return page_config



class VoilaHandler(JupyterHandler, PageConfigMixin):

def initialize(self, **kwargs):
Expand Down

0 comments on commit df15c83

Please sign in to comment.