Skip to content

Commit 9eb8f11

Browse files
delsimGibbsConsulting
authored andcommitted
Update code to stub functions following Dash version update (#40)
* Add more dummy blueprint methods, and also vscode configuration * Code improvements courtesy of linter messages
1 parent f33f600 commit 9eb8f11

File tree

5 files changed

+47
-49
lines changed

5 files changed

+47
-49
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"python.pythonPath": "${workspaceFolder}/env/bin/python"
3+
}

django_plotly_dash/dash_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ class PseudoFlask:
193193
def __init__(self):
194194
self.config = {}
195195
self.endpoints = {}
196+
self.name = "PseudoFlaskDummyName"
197+
self.blueprints = {}
196198

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

django_plotly_dash/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

9-
class EmbeddedHolder(object):
9+
class EmbeddedHolder:
1010
'Hold details of embedded content from processing a view'
1111
def __init__(self):
1212
self.css = ""

django_plotly_dash/templatetags/plotly_dash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
SOFTWARE.
2323
'''
2424

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

2727
import uuid
2828

frozen_dev.txt

Lines changed: 40 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,37 @@
11
aioredis==1.1.0
2-
alabaster==0.7.10
32
argh==0.26.2
43
asgiref==2.3.2
5-
astroid==1.6.5
4+
astroid==2.0.4
65
async-timeout==2.0.1
7-
atomicwrites==1.1.5
8-
attrs==18.1.0
9-
autobahn==18.6.1
10-
Automat==0.6.0
11-
Babel==2.5.3
12-
certifi==2018.4.16
13-
channels==2.1.2
14-
channels-redis==2.2.1
6+
atomicwrites==1.2.1
7+
attrs==18.2.0
8+
autobahn==18.8.2
9+
Automat==0.7.0
10+
certifi==2018.8.24
11+
channels==2.1.3
12+
channels-redis==2.3.0
1513
chardet==3.0.4
1614
click==6.7
1715
constantly==15.1.0
1816
coverage==4.5.1
19-
daphne==2.2.0
20-
dash==0.21.1
21-
dash-core-components==0.24.1
17+
daphne==2.2.2
18+
dash==0.26.3
19+
dash-core-components==0.28.1
2220
dash-html-components==0.11.0
23-
dash-renderer==0.12.1
21+
dash-renderer==0.13.2
2422
decorator==4.3.0
25-
Django==2.0.5
26-
django-bootstrap4==0.0.6
27-
-e git+https://github.com/delsim/django-plotly-dash.git@c2bdc189cb4c63c16374446f7aadeb79b1521a67#egg=django_plotly_dash
23+
Django==2.1.1
24+
django-bootstrap4==0.0.7
25+
-e git+https://github.com/delsim/django-plotly-dash.git@f33f6007c47c966cd5fee618b9d8fbffea36b9ba#egg=django_plotly_dash
2826
django-redis==4.9.0
2927
docopt==0.6.2
30-
docutils==0.14
31-
-e git+https://[email protected]/delsim/dpd-components.git@57c261067c34d1d033c96a239384ae30b181ceeb#egg=dpd_components
28+
dpd-components==0.1.0
3229
Flask==1.0.2
3330
Flask-Compress==1.4.0
34-
graphviz==0.8.3
3531
grip==4.5.2
3632
hiredis==0.2.0
3733
hyperlink==18.0.0
38-
idna==2.6
39-
imagesize==1.0.0
34+
idna==2.7
4035
incremental==17.5.0
4136
ipython-genutils==0.2.0
4237
isort==4.3.4
@@ -49,46 +44,44 @@ livereload==2.5.2
4944
Markdown==2.6.11
5045
MarkupSafe==1.0
5146
mccabe==0.6.1
52-
more-itertools==4.2.0
47+
more-itertools==4.3.0
5348
msgpack==0.5.6
5449
nbformat==4.4.0
55-
numpy==1.14.5
56-
objgraph==3.4.0
57-
packaging==17.1
58-
pandas==0.23.3
50+
numpy==1.15.1
51+
pandas==0.23.4
5952
path-and-address==2.0.1
53+
pathlib2==2.3.2
6054
pathtools==0.1.2
55+
pkg-resources==0.0.0
6156
pkginfo==1.4.2
62-
plotly==2.5.1
63-
pluggy==0.6.0
57+
plotly==3.1.1
58+
pluggy==0.7.1
6459
port-for==0.3.1
65-
py==1.5.4
60+
py==1.6.0
6661
Pygments==2.2.0
67-
pylint==1.9.2
68-
pyparsing==2.2.0
69-
pytest==3.6.3
62+
PyHamcrest==1.9.0
63+
pylint==2.1.1
64+
pytest==3.7.4
7065
pytest-cov==2.5.1
71-
pytest-django==3.3.2
66+
pytest-django==3.4.2
7267
python-dateutil==2.7.3
73-
pytz==2018.4
74-
PyYAML==3.12
68+
pytz==2018.5
69+
PyYAML==3.13
7570
redis==2.10.6
76-
requests==2.18.4
71+
requests==2.19.1
7772
requests-toolbelt==0.8.0
73+
retrying==1.3.3
7874
six==1.11.0
79-
snowballstemmer==1.2.1
80-
Sphinx==1.7.4
8175
sphinx-autobuild==0.7.1
82-
sphinx-rtd-theme==0.3.1
83-
sphinxcontrib-websupport==1.0.1
84-
tornado==5.0.2
85-
tqdm==4.23.3
76+
tornado==5.1
77+
tqdm==4.25.0
8678
traitlets==4.3.2
8779
twine==1.11.0
88-
Twisted==18.4.0
89-
txaio==2.10.0
90-
urllib3==1.22
91-
watchdog==0.8.3
80+
Twisted==18.7.0
81+
txaio==18.8.1
82+
typed-ast==1.1.0
83+
urllib3==1.23
84+
watchdog==0.9.0
9285
Werkzeug==0.14.1
9386
wrapt==1.10.11
9487
zope.interface==4.5.0

0 commit comments

Comments
 (0)