8000 [pre-commit.ci] pre-commit autoupdate (#1281) · katv7/pyscript@53c6cf5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53c6cf5

Browse files
[pre-commit.ci] pre-commit autoupdate (pyscript#1281)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.254 → v0.0.257](astral-sh/ruff-pre-commit@v0.0.254...v0.0.257) - [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](codespell-project/codespell@v2.2.2...v2.2.4) - [github.com/pre-commit/mirrors-eslint: v8.35.0 → v8.36.0](pre-commit/mirrors-eslint@v8.35.0...v8.36.0) * Fixes lint --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: mariana <marianameireles@protonmail.com>
1 parent 89842e2 commit 53c6cf5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
- id: trailing-whitespace
2525

2626
- repo: https://github.com/charliermarsh/ruff-pre-commit
27-
rev: v0.0.254
27+
rev: v0.0.257
2828
hooks:
2929
- id: ruff
3030
args: [--fix]
@@ -35,7 +35,7 @@ repos:
3535
- id: black
3636

3737
- repo: https://github.com/codespell-project/codespell
38-
rev: v2.2.2
38+
rev: v2.2.4
3939
hooks:
4040
- id: codespell # See 'pyproject.toml' for args
4141
additional_dependencies:
@@ -48,7 +48,7 @@ repos:
4848
args: [--tab-width, "4"]
4949

5050
- repo: https://github.com/pre-commit/mirrors-eslint
51-
rev: v8.35.0
51+
rev: v8.36.0
5252
hooks:
5353
- id: eslint
5454
files: pyscriptjs/src/.*\.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx

examples/pandas.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h3>Dev Console</h3>
101101
df = pd.DataFrame()
102102

103103

104-
def loadFromURL(*ags, **kws):
104+
def loadFromURL(*args, **kws):
105105
global df
106106

107107
# clear dataframe & output

examples/todo-pylist.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h1>To Do List</h1>
4747
from js import document
4848
from pyodide.ffi.wrappers import add_event_listener
4949

50-
def add_task(*ags, **kws):
50+
def add_task(*args, **kws):
5151
# create a new dictionary representing the new task
5252
new_task_content = Element("new-task-content")
5353
task = { "content": new_task_content.value, "done": False, "created_at": dt.now() }

examples/todo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
new_task_content = Element("new-task-content")
1111

1212

13-
def add_task(*ags, **kws):
13+
def add_task(*args, **kws):
1414
# ignore empty task
1515
if not new_task_content.element.value:
1616
return None

pyscriptjs/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class PyScriptApp {
148148
this.logStatus(`Downloading ${interpreter_cfg.name}...`);
149149

150150
// download pyodide by using a <script> tag. Once it's ready, the
151-
// "load" event will be fired and the exeuction logic will continue.
151+
// "load" event will be fired and the execution logic will continue.
152152
// Note that the load event is fired asynchronously and thus any
153153
// exception which is throw inside the event handler is *NOT* caught
154154
// by the try/catch inside main(): that's why we need to .catch() it

0 commit comments

Comments
 (0)
0