Skip to content

Commit

Permalink
Update code to stub functions following Dash version update (#40)
Browse files Browse the repository at this point in the history
* Add more dummy blueprint methods, and also vscode configuration

* Code improvements courtesy of linter messages
  • Loading branch information
delsim authored and GibbsConsulting committed Sep 3, 2018
1 parent f33f600 commit 9eb8f11
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 49 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"python.pythonPath": "${workspaceFolder}/env/bin/python"
}
2 changes: 2 additions & 0 deletions django_plotly_dash/dash_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ class PseudoFlask:
def __init__(self):
self.config = {}
self.endpoints = {}
self.name = "PseudoFlaskDummyName"
self.blueprints = {}

# pylint: disable=unused-argument, missing-docstring

Expand Down
2 changes: 1 addition & 1 deletion django_plotly_dash/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#pylint: disable=too-few-public-methods

class EmbeddedHolder(object):
class EmbeddedHolder:
'Hold details of embedded content from processing a view'
def __init__(self):
self.css = ""
Expand Down
2 changes: 1 addition & 1 deletion django_plotly_dash/templatetags/plotly_dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SOFTWARE.
'''

# pylint: disable=too-many-arguments, unused-variable, unused-argument
# pylint: disable=too-many-arguments, unused-variable, unused-argument, possibly-unused-variable

import uuid

Expand Down
87 changes: 40 additions & 47 deletions frozen_dev.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,37 @@
aioredis==1.1.0
alabaster==0.7.10
argh==0.26.2
asgiref==2.3.2
astroid==1.6.5
astroid==2.0.4
async-timeout==2.0.1
atomicwrites==1.1.5
attrs==18.1.0
autobahn==18.6.1
Automat==0.6.0
Babel==2.5.3
certifi==2018.4.16
channels==2.1.2
channels-redis==2.2.1
atomicwrites==1.2.1
attrs==18.2.0
autobahn==18.8.2
Automat==0.7.0
certifi==2018.8.24
channels==2.1.3
channels-redis==2.3.0
chardet==3.0.4
click==6.7
constantly==15.1.0
coverage==4.5.1
daphne==2.2.0
dash==0.21.1
dash-core-components==0.24.1
daphne==2.2.2
dash==0.26.3
dash-core-components==0.28.1
dash-html-components==0.11.0
dash-renderer==0.12.1
dash-renderer==0.13.2
decorator==4.3.0
Django==2.0.5
django-bootstrap4==0.0.6
-e git+https://github.com/delsim/django-plotly-dash.git@c2bdc189cb4c63c16374446f7aadeb79b1521a67#egg=django_plotly_dash
Django==2.1.1
django-bootstrap4==0.0.7
-e git+https://github.com/delsim/django-plotly-dash.git@f33f6007c47c966cd5fee618b9d8fbffea36b9ba#egg=django_plotly_dash
django-redis==4.9.0
docopt==0.6.2
docutils==0.14
-e git+https://[email protected]/delsim/dpd-components.git@57c261067c34d1d033c96a239384ae30b181ceeb#egg=dpd_components
dpd-components==0.1.0
Flask==1.0.2
Flask-Compress==1.4.0
graphviz==0.8.3
grip==4.5.2
hiredis==0.2.0
hyperlink==18.0.0
idna==2.6
imagesize==1.0.0
idna==2.7
incremental==17.5.0
ipython-genutils==0.2.0
isort==4.3.4
Expand All @@ -49,46 +44,44 @@ livereload==2.5.2
Markdown==2.6.11
MarkupSafe==1.0
mccabe==0.6.1
more-itertools==4.2.0
more-itertools==4.3.0
msgpack==0.5.6
nbformat==4.4.0
numpy==1.14.5
objgraph==3.4.0
packaging==17.1
pandas==0.23.3
numpy==1.15.1
pandas==0.23.4
path-and-address==2.0.1
pathlib2==2.3.2
pathtools==0.1.2
pkg-resources==0.0.0
pkginfo==1.4.2
plotly==2.5.1
pluggy==0.6.0
plotly==3.1.1
pluggy==0.7.1
port-for==0.3.1
py==1.5.4
py==1.6.0
Pygments==2.2.0
pylint==1.9.2
pyparsing==2.2.0
pytest==3.6.3
PyHamcrest==1.9.0
pylint==2.1.1
pytest==3.7.4
pytest-cov==2.5.1
pytest-django==3.3.2
pytest-django==3.4.2
python-dateutil==2.7.3
pytz==2018.4
PyYAML==3.12
pytz==2018.5
PyYAML==3.13
redis==2.10.6
requests==2.18.4
requests==2.19.1
requests-toolbelt==0.8.0
retrying==1.3.3
six==1.11.0
snowballstemmer==1.2.1
Sphinx==1.7.4
sphinx-autobuild==0.7.1
sphinx-rtd-theme==0.3.1
sphinxcontrib-websupport==1.0.1
tornado==5.0.2
tqdm==4.23.3
tornado==5.1
tqdm==4.25.0
traitlets==4.3.2
twine==1.11.0
Twisted==18.4.0
txaio==2.10.0
urllib3==1.22
watchdog==0.8.3
Twisted==18.7.0
txaio==18.8.1
typed-ast==1.1.0
urllib3==1.23
watchdog==0.9.0
Werkzeug==0.14.1
wrapt==1.10.11
zope.interface==4.5.0

0 comments on commit 9eb8f11

Please sign in to comment.