Skip to content

Commit

Permalink
Merge pull request #229 from yfukai/doc_dependency
Browse files Browse the repository at this point in the history
Updating pre-commit cache
  • Loading branch information
yfukai authored Nov 5, 2022
2 parents 79faa73 + e707537 commit 4f756f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@ jobs:
shell: python
run: |
import hashlib
import os
import sys
python = "py{}.{}".format(*sys.version_info[:2])
payload = sys.version.encode() + sys.executable.encode()
digest = hashlib.sha256(payload).hexdigest()
result = "${{ runner.os }}-{}-{}-pre-commit".format(python, digest[:8])
print("::set-output name=result::{}".format(result))
# print("::set-output name=result::{}".format(result))
os.environ["GITHUB_OUTPUT"] = "result={}".format(result)
- name: Restore pre-commit cache
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ In Google Colaboratory, try

.. code:: console
$ pip install --upgrade laptrack spacy flask
$ pip install --upgrade laptrack spacy flask matplotlib
to update the pre-installed packages.

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/api_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"try:\n",
" import google.colab\n",
"\n",
" %pip install -q --upgrade laptrack matplotlib spacy flask pandas\n",
" %pip install -q --upgrade laptrack matplotlib spacy flask pandas matplotlib\n",
" # upgrade packages to avoid pip warnings if the notebook is run in colab\n",
"except:\n",
" %pip install -q --upgrade laptrack matplotlib pandas"
Expand Down

0 comments on commit 4f756f5

Please sign in to comment.