Josh Barnes
74be466418
fix linting again...
2017-09-03 22:21:11 +00:00
Josh Barnes
646fa6eb82
Merge pull request #1054 from gabyx/codefoldPreprocImprovements
...
Codefold preprocessor improvements
2017-08-31 12:05:54 +01:00
Josh Barnes
435d29fea3
bugfix in install kwarg conflict check
...
:O
2017-08-31 02:27:25 +01:00
Josh Barnes
fff6550e1f
Merge pull request #1059 from jcb91/lint
...
[lint] fix linting errors, disallow linting failure on Travis
2017-08-30 19:15:01 +01:00
Josh Barnes
e86b53d8f9
[lint] fix import sorting errors
2017-08-23 13:47:24 +01:00
Jürgen Hasch
5a949150d2
Update test with new config option
2017-08-22 10:34:25 +02:00
Gabriel Nuetzi
d2a19d0708
typo2
2017-08-21 23:30:44 +02:00
Gabriel Nuetzi
b2b7e3da13
typo
2017-08-20 20:24:07 +02:00
Gabriel Nuetzi
647ac414fa
typo
2017-08-20 20:22:52 +02:00
Gabriel Nuetzi
578ff3d528
better codefolding in preprocessor, handling empty lines
2017-08-20 17:09:20 +02:00
Josh Barnes
57f1cccb25
[collapsible_headings] fix tests for nbconvert exporting
2017-02-18 17:00:11 +00:00
Josh Barnes
ac93fc33a7
[ci] specify noqa comments
2016-12-28 11:44:36 +00:00
Josh Barnes
965c33460e
[ci] fix linting errors
2016-12-28 11:44:12 +00:00
Josh Barnes
26956cd7b8
add jupyter_highlight_selected_word nbextension
2016-11-28 01:05:38 +00:00
Juergen Hasch
f11cd4f048
Merge pull request #794 from juhasch/fix/codefolding
...
[WIP]Only execute codefolding preprocessor when requested
2016-11-27 13:23:02 +01:00
Josh Barnes
22af2dbb15
fix test_application.py
...
so that test for config-only install doesn't expect javascript files :p
2016-11-24 12:57:05 +00:00
Josh Barnes
fa67142155
replace vendored latex_envs with its pypi package
2016-11-16 23:16:11 +00:00
juhasch
28a383eaf1
Update codefolding preprocessor test
2016-11-15 18:03:52 +07:00
Josh Barnes
02f3877da9
fix linting
2016-10-21 14:22:35 +01:00
Josh Barnes
c3afb23d0d
Merge pull request #774 from jcb91/feature/switchable_install
...
switchable install
2016-10-21 14:18:01 +01:00
Josh Barnes
ae0fdd0257
update tests & install to support switchabe install
...
* test must check different directories on install/uninstall
* alter uninstall of config to disable the `contrib_nbextensions_help_item/main` nbextension regardless of whether it's installed or not
2016-10-20 23:41:05 +01:00
Josh Barnes
008aefc574
switchable install
...
* add cli switches to install only the nbextensions files, or only the config parts
* add tests for switchable installs
2016-10-19 02:38:10 +01:00
Josh Barnes
69f0c41f72
Merge pull request #772 from jcb91/windows_testing
...
don't test symlinks on windows
2016-10-19 01:23:28 +01:00
Josh Barnes
a2af25af57
don't test symlinks on windows, which only supports them with admin privileges
2016-10-18 21:51:53 +01:00
Josh Barnes
9bc9ec8242
allow configurator config values to remain on uninstall
2016-10-18 21:45:08 +01:00
Juergen Hasch
a6e056da9e
Fix html_embed test
2016-10-03 21:16:37 +02:00
juhasch
ba1198c4a6
Add tests for toc2 and html_embed exporters
2016-10-03 17:37:38 +02:00
Josh Barnes
3cf6c9da0d
alter app default settings & tests
...
* Make `user` default to `False`, as otherwise it conflicts with other custom install options like `nbextensions_dir` and `prefix`. This makes app default to system install.
* alter tests to account for new default install
* alter tests to check *all* potential installation directories, to ensure we don't place anything in a location we shouldn't touch
* test app `--prefix=` cli arg
2016-09-03 02:10:38 +01:00
Josh Barnes
11b3f74479
add plural nbextensions command alias
...
i.e. `jupyter contrib nbextensions` should be an alias of `jupyter contrib nbextension`
see https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/686
2016-07-30 00:33:37 +01:00
Josh Barnes
10ff2078b9
pin migrate test sha
...
to a ref before the restructure, otherwise the test doesn't make sense (and fails!)
2016-07-27 20:30:40 +01:00
Josh Barnes
018c43d52f
add preprocessor test for collapsible headings.
2016-07-24 00:52:22 +01:00
Josh Barnes
32b71b5a49
create all preprocessing test notebooks programatically.
2016-07-24 00:52:22 +01:00
Josh Barnes
6650802313
update preprocessor tests
...
* consolidate common operations into functions
* test imports in test_preprocessors
* skip rather than fail on tests which require pandoc if we can't find it
* move svg2pdf inkscape-finding into a function which doesn't raise exceptions, allowing us to skip test if inkscape can't be found, and skip accordingly
* use urllib instead of requests in svg2pdf preprocessor
* fix flake8 complaints
2016-07-24 00:52:22 +01:00
Josh Barnes
adb71bca91
add basic tests
2016-07-24 00:52:09 +01:00
Josh Barnes
600d27d679
lint python scripts to fix flake8 complaints
2016-07-18 02:06:28 +01:00
Josh Barnes
418819a1f5
more packaging renames
...
* rename `jupyter_contrib_nbextensions.extensions` -> `jupyter_contrib_nbextensions.nbconvert_support`, since they're now all nbconvert things
* rename `tests/test-postprocessors.py`, since it actually tests preprocessors!
* move highlighter config scripts into `config_scripts` package
* remove redundant scripts in `src/jupyter_contrib_nbextensions/nbextensions/highlighter`
2016-07-18 02:06:28 +01:00
Juergen Hasch
f36b974c7a
Add tests for preprocessors
2016-04-21 22:53:03 +02:00
Juergen Hasch
d23f95fd45
Reorg part 3
2015-09-04 21:47:04 +02:00
Juergen Hasch
e3f2afa460
Reorg 2nd batch
2015-09-04 20:26:43 +02:00