Skip to content

Commit

Permalink
updated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Médéric Hurier committed Feb 7, 2020
1 parent 552ded4 commit b8c9fca
Show file tree
Hide file tree
Showing 6 changed files with 243 additions and 43 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
migrated
workspaces/
.ipynb_checkpoints/
.virtual_documents/
69 changes: 37 additions & 32 deletions environment.yml
Expand Up @@ -3,9 +3,9 @@ channels:
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=main
- ansiwrap=0.8.4=py_0
- appdirs=1.4.3=py37h28b3542_0
- appnope=0.1.0=py37_0
- asn1crypto=1.3.0=py37_0
- async_generator=1.10=py37h28b3542_0
- attrs=19.3.0=py_0
Expand All @@ -18,17 +18,19 @@ dependencies:
- bleach=3.1.0=py37_0
- ca-certificates=2020.1.1=0
- certifi=2019.11.28=py37_0
- cffi=1.13.2=py37hb5b8e2f_0
- cffi=1.13.2=py37h2e261b9_0
- chardet=3.0.4=py37_1003
- click=7.0=py37_0
- colorama=0.4.3=py_0
- cryptography=2.8=py37ha12b0ac_0
- cryptography=2.8=py37h1ba5d50_0
- decorator=4.4.1=py_0
- defusedxml=0.6.0=py_0
- entrypoints=0.3=py37_0
- future=0.18.2=py37_0
- gitdb2=2.0.6=py_0
- gitpython=3.0.5=py_0
- gmp=6.1.2=h6c8ec71_1
- icu=64.2=he1b5a44_1
- idna=2.8=py37_0
- importlib_metadata=1.5.0=py37_0
- inflect=4.1.0=py37_0
Expand All @@ -49,31 +51,33 @@ dependencies:
- jupyterlab_pygments=0.1.0=py_0
- jupyterlab_server=1.0.6=py_0
- jupytext=1.3.3=0
- libcxx=4.0.1=hcfea43d_1
- libcxxabi=4.0.1=hcfea43d_1
- libedit=3.1.20181209=hb402a30_0
- libffi=3.2.1=h475c297_4
- libgfortran=3.0.1=h93005f0_2
- libsodium=1.0.16=h3efe00b_0
- markupsafe=1.1.1=py37h1de35cc_0
- mistune=0.8.4=py37h1de35cc_0
- ld_impl_linux-64=2.33.1=h53a641e_7
- libedit=3.1.20181209=hc058e9b_0
- libffi=3.2.1=hd88cf55_4
- libgcc-ng=9.1.0=hdf63c60_0
- libgfortran-ng=7.3.0=hdf63c60_0
- libsodium=1.0.16=h1bed415_0
- libstdcxx-ng=9.1.0=hdf63c60_0
- libuv=1.34.0=h516909a_0
- markupsafe=1.1.1=py37h7b6447c_0
- mistune=0.8.4=py37h7b6447c_0
- mkl=2020.0=166
- mkl-service=2.3.0=py37hfbe908c_0
- mkl_fft=1.0.15=py37h5e564d8_0
- mkl_random=1.1.0=py37ha771720_0
- mkl-service=2.3.0=py37he904b0f_0
- mkl_fft=1.0.15=py37ha843d7b_0
- mkl_random=1.1.0=py37hd6b4f25_0
- more-itertools=8.2.0=py_0
- nb_conda=2.2.1=py37_0
- nb_conda_kernels=2.2.2=py37_0
- nbconvert=5.6.1=py37_0
- nbdime=1.1.0=py37_0
- nbformat=5.0.4=py_0
- ncurses=6.1=h0a44026_1
- nodejs=10.13.0=h0a44026_0
- ncurses=6.1=he6710b0_1
- nodejs=13.8.0=h10a4023_0
- notebook=6.0.3=py37_0
- numpy=1.18.1=py37h7241aed_0
- numpy-base=1.18.1=py37h6575580_1
- openssl=1.1.1d=h1de35cc_3
- pandas=1.0.0=py37h6c726b0_0
- numpy=1.18.1=py37h4f9e942_0
- numpy-base=1.18.1=py37hde5b4d6_1
- openssl=1.1.1d=h7b6447c_3
- pandas=1.0.0=py37h0573a6f_0
- pandoc=2.2.3.2=0
- pandocfilters=1.4.2=py37_1
- papermill=1.2.1=py37_0
Expand All @@ -87,28 +91,28 @@ dependencies:
- pycparser=2.19=py37_0
- pygments=2.5.2=py_0
- pyopenssl=19.1.0=py37_0
- pyrsistent=0.15.7=py37h1de35cc_0
- pyrsistent=0.15.7=py37h7b6447c_0
- pysocks=1.7.1=py37_0
- python=3.7.6=h359304d_2
- python=3.7.6=h0371630_2
- python-dateutil=2.8.1=py_0
- pytz=2019.3=py_0
- pyyaml=5.3=py37h1de35cc_0
- pyzmq=18.1.1=py37h0a44026_0
- readline=7.0=h1de35cc_5
- pyyaml=5.3=py37h7b6447c_0
- pyzmq=18.1.1=py37he6710b0_0
- readline=7.0=h7b6447c_5
- requests=2.22.0=py37_1
- rise=5.6.0=py37_0
- send2trash=1.5.0=py37_0
- setuptools=45.1.0=py37_0
- six=1.14.0=py37_0
- smmap2=2.0.5=py37_0
- sqlite=3.31.1=ha441bb4_0
- sqlite=3.31.1=h7b6447c_0
- tenacity=6.0.0=py37_0
- terminado=0.8.3=py37_0
- testpath=0.4.4=py_0
- textwrap3=0.9.2=py_0
- tk=8.6.8=ha441bb4_0
- tk=8.6.8=hbc83047_0
- toml=0.10.0=py37h28b3542_0
- tornado=6.0.3=py37h1de35cc_0
- tornado=6.0.3=py37h7b6447c_0
- tqdm=4.42.0=py_0
- traitlets=4.3.3=py37_0
- urllib3=1.25.8=py37_0
Expand All @@ -117,15 +121,16 @@ dependencies:
- webencodings=0.5.1=py37_1
- wheel=0.34.2=py37_0
- widgetsnbextension=3.5.1=py37_0
- xz=5.2.4=h1de35cc_4
- yaml=0.1.7=hc338f04_2
- zeromq=4.3.1=h0a44026_3
- xz=5.2.4=h14c3975_4
- yaml=0.1.7=had09818_2
- zeromq=4.3.1=he6710b0_3
- zipp=2.1.0=py_0
- zlib=1.2.11=h1de35cc_3
- zlib=1.2.11=h7b6447c_3
- pip:
- jedi==0.15.2
- jupyter-lsp==0.7.0b0
- jupyterlab-code-formatter==1.0.3
- jupyterlab-git==0.9.0
- jupyterlab-quickopen==0.3.0
- packaging==19.2
- pluggy==0.13.1
Expand Down
19 changes: 11 additions & 8 deletions init.ipynb
Expand Up @@ -188,7 +188,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 2,
"metadata": {
"Collapsed": "false"
},
Expand All @@ -198,18 +198,20 @@
"output_type": "stream",
"text": [
"Installing @jupyterlab/toc ...\n",
"Installing @jupyterlab/git ...\n",
"Installing @jupyterlab/celltags ...\n",
"Installing @jupyterlab/shortcutui ...\n",
"Installing @krassowski/jupyterlab-lsp ...\n",
"Installing @parente/jupyterlab-quickopen ...\n",
"Installing @aquirdturtle/collapsible_headings ...\n",
"Installing @lckr/jupyterlab_variableinspector ...\n",
"Installing @jupyter-widgets/jupyterlab-manager ...\n",
"Installing @ryantam626/jupyterlab_code_formatter ...\n",
"Installing jupyterlab-jupytext ...\n",
"\n",
"Installing nbdime-jupyterlab ...\n",
"Building ...\n",
"[LabBuildApp] JupyterLab 1.2.6\n",
"[LabBuildApp] Building in /Users/mederic/.anaconda/envs/ide/share/jupyter/lab\n",
"[LabBuildApp] Building in /home/fmind/.anaconda/envs/ide/share/jupyter/lab\n",
"[LabBuildApp] Building jupyterlab assets (build:prod:minimize)\n"
]
},
Expand All @@ -219,14 +221,15 @@
"'DONE'"
]
},
"execution_count": 4,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"LAB_EXTENSIONS = [\n",
" '@jupyterlab/toc',\n",
" '@jupyterlab/git',\n",
" '@jupyterlab/celltags',\n",
" '@krassowski/jupyterlab-lsp',\n",
" '@parente/jupyterlab-quickopen',\n",
Expand All @@ -240,7 +243,7 @@
"\n",
"for extension in LAB_EXTENSIONS:\n",
" print(f'Installing {extension} ...')\n",
" !jupyter labextension install --no-build $extension\n",
" !jupyter labextension install --no-build \"$extension\"\n",
"\n",
"print('Building ...')\n",
"!jupyter lab build\n",
Expand All @@ -258,7 +261,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {
"Collapsed": "false"
},
Expand All @@ -269,7 +272,7 @@
"text": [
"Enabling jupyterlab_code_formatter ...\n",
"Enabling: jupyterlab_code_formatter\n",
"- Writing config: /Users/mederic/.jupyter\n",
"- Writing config: /home/fmind/.jupyter\n",
" - Validating...\n",
" jupyterlab_code_formatter \u001b[32mOK\u001b[0m\n"
]
Expand All @@ -280,7 +283,7 @@
"'DONE'"
]
},
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
Expand Down
22 changes: 22 additions & 0 deletions lab/user-settings/@jupyterlab/git/plugin.jupyterlab-settings
@@ -0,0 +1,22 @@
{
// Git
// @jupyterlab/git:plugin
// jupyterlab-git settings.
// ************************

// Disable branch with changes
// Disable all branch operations (new, switch) when there are changed/staged files
"disableBranchWithChanges": false,

// History count
// Number of (most recent) commits shown in the history log
"historyCount": 25,

// Refresh interval
// Number of milliseconds between polling the file system for changes.
"refreshInterval": 3000,

// Simple staging flag
// If true, use a simplified concept of staging. Only files with changes are shown (instead of showing staged/changed/untracked), and all files with changes will be automatically staged
"simpleStaging": false
}

0 comments on commit b8c9fca

Please sign in to comment.