Skip to content

Commit

Permalink
chore: update pre-commit hooks (#2105)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <steven.silvester@ieee.org>
  • Loading branch information
pre-commit-ci[bot] and blink1073 committed Feb 6, 2024
1 parent dc91f33 commit dff141e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Upload HTML
uses: actions/upload-artifact@v4
with:
name: html
name: html-${{ github.job }}-${{ strategy.job-index }}
path: build/sphinx/html
- name: Build PDF docs
run: |
Expand All @@ -49,5 +49,5 @@ jobs:
- name: Upload PDF
uses: actions/upload-artifact@v4
with:
name: pdf-python-${{matrix.python-version}}
name: pdf-python-${{matrix.python-version}}-${{ github.job }}-${{ strategy.job-index }}
path: docs/build/latex/nbconvert.pdf
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.27.4
hooks:
- id: check-github-workflows

Expand Down Expand Up @@ -81,7 +81,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.2.0
hooks:
- id: ruff
types_or: [python, jupyter]
Expand All @@ -90,7 +90,7 @@ repos:
types_or: [python, jupyter]

- repo: https://github.com/scientific-python/cookie
rev: "2023.12.21"
rev: "2024.01.24"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
8 changes: 4 additions & 4 deletions nbconvert/exporters/slides.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,17 @@ def _reveal_url_prefix_default(self):
"",
help="""
width used to determine the aspect ratio of your presentation.
Use the horizontal pixels available on your inteded presentation
equpment.
Use the horizontal pixels available on your intended presentation
equipment.
""",
).tag(config=True)

reveal_height = Unicode(
"",
help="""
height used to determine the aspect ratio of your presentation.
Use the horizontal pixels available on your inteded presentation
equpment.
Use the horizontal pixels available on your intended presentation
equipment.
""",
).tag(config=True)

Expand Down

0 comments on commit dff141e

Please sign in to comment.