Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#225)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/python-jsonschema/check-jsonschema: 0.23.3 → 0.26.3](python-jsonschema/check-jsonschema@0.23.3...0.26.3)
- [github.com/executablebooks/mdformat: 0.7.16 → 0.7.17](executablebooks/mdformat@0.7.16...0.7.17)
- [github.com/astral-sh/ruff-pre-commit: v0.0.281 → v0.0.287](astral-sh/ruff-pre-commit@v0.0.281...v0.0.287)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Sep 5, 2023
1 parent 122af79 commit d2a420d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.3
rev: 0.26.3
hooks:
- id: check-github-workflows

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
Expand All @@ -37,7 +37,7 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.281
rev: v0.0.287
hooks:
- id: ruff
args: ["--fix"]
6 changes: 3 additions & 3 deletions terminado/uimodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def render(self, ws_url, cols=80, rows=25):
"""Render the module."""
return (
'<div class="terminado-container" '
'data-ws-url="{ws_url}" '
'data-rows="{rows}" data-cols="{cols}"/>'
).format(ws_url=ws_url, rows=rows, cols=cols)
f'data-ws-url="{ws_url}" '
f'data-rows="{rows}" data-cols="{cols}"/>'
)

def javascript_files(self):
"""Get the list of JS files to include."""
Expand Down

0 comments on commit d2a420d

Please sign in to comment.