Skip to content

Commit

Permalink
chore: Merge branch 'master' into example-text
Browse files Browse the repository at this point in the history
  • Loading branch information
oboulant committed May 3, 2021
2 parents 2177a9f + 4ddef57 commit 0a9ccbe
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install ruptures
run: |
python -m pip install --upgrade pip
python -m pip install pip==21.0.1
python -m pip install .[test]
- name: Test with pytest
run: |
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.4b0
hooks:
- id: black
language_version: python3
Expand All @@ -23,21 +23,21 @@ repos:
hooks:
- id: docformatter
args: [--in-place]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.0
- repo: https://github.com/PyCQA/flake8
rev: 3.9.1
hooks:
- id: flake8
# additional_dependencies: [flake8-docstrings, flake8-bugbear, flake8-spellcheck, flake8-import-order]
- repo: https://github.com/kynan/nbstripout
rev: 0.3.9
rev: 0.4.0
hooks:
- id: nbstripout
- repo: https://github.com/asottile/blacken-docs
rev: v1.10.0
hooks:
- id: blacken-docs
- repo: https://github.com/nbQA-dev/nbQA
rev: 0.5.9
rev: 0.7.0
hooks:
- id: nbqa-black
args: [--nbqa-mutate]
1 change: 1 addition & 0 deletions docs/examples/kernel-cpd-performance-comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"import time # for execution time comparison\n",
"\n",
"import matplotlib.pyplot as plt # for display purposes\n",
"\n",
"import ruptures as rpt # our package\n",
"from ruptures.metrics import hausdorff\n",
"\n",
Expand Down
5 changes: 3 additions & 2 deletions docs/examples/music-segmentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
"import librosa.display\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import ruptures as rpt # our package\n",
"from IPython.display import Audio, display"
"from IPython.display import Audio, display\n",
"\n",
"import ruptures as rpt # our package"
]
},
{
Expand Down
1 change: 1 addition & 0 deletions docs/getting-started/basic-usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"outputs": [],
"source": [
"import matplotlib.pyplot as plt # for display purposes\n",
"\n",
"import ruptures as rpt # our package"
]
},
Expand Down

0 comments on commit 0a9ccbe

Please # to comment.