Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout but ignore fail
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w || :",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Aug 16, 2023
1 parent b42b968 commit 327f025
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ There are a few additional specific advantages to `davos` that go beyond more ty
typical overhead of setting up a new virtual environment (or container, virtual machine, etc.), installing
third-party tools, writing and sharing configuration files, and so on. All of your code *and its dependencies* may
be contained in a single notebook file.
- using onion comments, `davos` can enable mutliple versions of the same package to be used or specified in different
- using onion comments, `davos` can enable multiple versions of the same package to be used or specified in different
parts of the same notebook. Want to use some deprecated or removed function in `scikit-learn` in one cell, but then
use one of the latest features in another? You can! Just add onion comments specifying which versions of the
package you want to `smuggle` in which cells of your notebook.
Expand Down
2 changes: 1 addition & 1 deletion paper/main.bib
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ @article{ZimaEtal23
author = {K Ziman and M R Lee and A R Martinez and E D Adner and J R Manning},
doi = {10.31234/osf.io/2ps6e},
journal = {{PsyArXiv}},
title = {Category-based and location-based volitional covert attention affect memory at different timescales},
title = {Category-based and location-based volitional convert attention affect memory at different timescales},
year = {2023}}

@inproceedings{PimeEtal19,
Expand Down
6 changes: 3 additions & 3 deletions paper/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ \subsubsection{Projects}\label{subsec:projects}
%By default, projects are notebook-specific, but can also be shared by multiple notebooks, and can be managed interactively from within a Davos-enhanced notebook.

%%%%%%%% JEREMY VERSION %%%%%%%%%
%Installing new packages in a notebook using standard approaches (e.g., system commmands) affect the
%Installing new packages in a notebook using standard approaches (e.g., system commands) affect the
%runtime environment. This could lead to undesired behaviors. For example, running a notebook that
%installs new packages in the user’s primary system environment might alter their main system installation
%and/or containerized environment in unexpected ways (e.g., changing package versions, causing conflicts
Expand Down Expand Up @@ -792,7 +792,7 @@ \section{Illustrative Example}\label{sec:illustrative-example}
environments are the same. However, a common ``advanced'' approach
entails running the notebook server from a base environment, with
additional environments each providing their own separate,
interchangeable IPython kernels. To accomodate this multi-environment
interchangeable IPython kernels. To accommodate this multi-environment
scenario, on lines 26 and 28, we use the \texttt{pip\_executable} option to control which environments each
package should be installed to. Once these two packages are installed
and imported, line 31 smuggles \texttt{tqdm}~\cite{daCoEtal22}, which
Expand Down Expand Up @@ -861,7 +861,7 @@ \section{Impact}
incorporates its own virtual environment system that isolates
notebook-installed packages from the runtime environment
(Sec.~\ref{subsec:projects}). In many setups this feature can eliminate the
need to set up a seperate virtual environment or container (e.g., in
need to set up a separate virtual environment or container (e.g., in
conjunction with a \texttt{requirements.txt}, \texttt{project.toml}, or
\texttt{environment.yml} file specifying the project's dependencies).

Expand Down
2 changes: 1 addition & 1 deletion paper/old/main-old.tex
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ \section{Illustrative Example}\label{sec:illustrative-example}
environments are the same. However, a common ``advanced'' approach
entails running the notebook server from a base environment, with
additional environments each providing their own separate,
interchangeable IPython kernels. To accomodate this multi-environment
interchangeable IPython kernels. To accommodate this multi-environment
scenario, on lines 26 and 28, we use the \texttt{pip\_executable} option to control which environments each
package should be installed to. Once these two packages are installed
and imported, line 31 smuggles \texttt{tqdm}~\cite{daCoEtal22}, which
Expand Down
2 changes: 1 addition & 1 deletion tests/test__environment_and_init.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
"source": [
"def test_config_properties_accessible_toplevel():\n",
" \"\"\"\n",
" test that davos.config fields are accesible from the top-level davos \n",
" test that davos.config fields are accessible from the top-level davos \n",
" namespace\n",
" \"\"\"\n",
" config_fields = ['active', 'auto_rerun', 'confirm_install', \n",
Expand Down
6 changes: 3 additions & 3 deletions tests/test_core.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@
" onion comment that constrains the smuggled package version using \n",
" multiple specifiers. -v/--verbose are passed in a somewhat \n",
" unrealistic way, but it's meant to test isolating the version \n",
" specifier from other arugments both before and after it\n",
" specifier from other arguments both before and after it\n",
" `smuggle foo # pip: -v foo-pkg>=1.0.1,<2 --verbose`\n",
" \"\"\"\n",
" installer_kwargs = {\n",
Expand Down Expand Up @@ -2698,7 +2698,7 @@
"@mark.timeout(30)\n",
"def test_smuggle_pip_new():\n",
" \"\"\"\n",
" smuggle a package that does't exist locally, using 'pip' as the \n",
" smuggle a package that doesn't exist locally, using 'pip' as the \n",
" installer program\n",
" \"\"\"\n",
" assert not is_installed_include_project('ppca')\n",
Expand Down Expand Up @@ -2886,7 +2886,7 @@
"@mark.timeout(300)\n",
"def test_smuggle_github_subdirectory():\n",
" \"\"\"\n",
" smuggle a package tthat exists as a subdirectory of a larger GitHub \n",
" smuggle a package that exists as a subdirectory of a larger GitHub \n",
" repository\n",
" \"\"\"\n",
" assert not is_installed_include_project('sherlock_helpers')\n",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_project.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
" `atexit.unregister(<fn>)` compares <fn> to each function in the \n",
" list with `==`, and fails silently if <fn> isn't found. This \n",
" dummy class records each object it's compared to using `==`, so \n",
" passing it to `atexit.unregister()` will extrac te list of \n",
" passing it to `atexit.unregister()` will extract te list of \n",
" currently registered functions.\n",
" \"\"\"\n",
" def __init__(self):\n",
Expand Down Expand Up @@ -840,7 +840,7 @@
" f'{_sep.join(initial_installed_pkgs)}'\n",
" )\n",
" # v4.64.1 was the last version to support Python 3.6\n",
" # pass --ignore-installed to ensure packge gets installed in project \n",
" # pass --ignore-installed to ensure package gets installed in project \n",
" # rather than using version in notebook kernel environment, just in \n",
" # case the exact requested version is installed there\n",
" smuggle tqdm # pip: tqdm==4.64.1 --ignore-installed\n",
Expand Down

0 comments on commit 327f025

Please sign in to comment.