Skip to content

Commit

Permalink
Linting tutorial and rebuild dev website (#216)
Browse files Browse the repository at this point in the history
* Linting tutorial [build:website_dev]

* Fixing linting

* Adding snappy to pip

* Adding testpath to deps

* [build:website_dev]
  • Loading branch information
jsignell committed Aug 29, 2019
1 parent 0252c3e commit f2ffe7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: false
sudo: true
language: generic
os:
- linux
Expand Down Expand Up @@ -74,7 +74,9 @@ jobs:

- <<: *package_test
env: DESC="Test package on pip"
script: doit test_user_install_part2_pip
script:
- sudo apt-get install snappy
- doit test_user_install_part2_pip

- <<: *package_test
os: osx
Expand Down
4 changes: 2 additions & 2 deletions examples/tutorial/05_Composing_Plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@
"metadata": {},
"outputs": [],
"source": [
"import colorcet as cc\n",
"from colorcet.plotting import swatch, swatches #noqa: imported for use in exercises"
"import colorcet as cc\n"
]
},
{
Expand All @@ -298,6 +297,7 @@
"metadata": {},
"outputs": [],
"source": [
"from colorcet.plotting import swatch\n",
"swatch('CET_L4')"
]
},
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ install_requires =
selenium
# inadvertent dependency of streamz
ipywidgets
# unstated dependency of datashader?
testpath<0.4

[options.extras_require]
tests =
Expand Down

0 comments on commit f2ffe7d

Please sign in to comment.