File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 24
24
- id : trailing-whitespace
25
25
26
26
- repo : https://github.com/charliermarsh/ruff-pre-commit
27
- rev : v0.0.254
27
+ rev : v0.0.257
28
28
hooks :
29
29
- id : ruff
30
30
args : [--fix]
35
35
- id : black
36
36
37
37
- repo : https://github.com/codespell-project/codespell
38
- rev : v2.2.2
38
+ rev : v2.2.4
39
39
hooks :
40
40
- id : codespell # See 'pyproject.toml' for args
41
41
additional_dependencies :
48
48
args : [--tab-width, "4"]
49
49
50
50
- repo : https://github.com/pre-commit/mirrors-eslint
51
- rev : v8.35 .0
51
+ rev : v8.36 .0
52
52
hooks :
53
53
- id : eslint
54
54
files : pyscriptjs/src/.*\.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ <h3>Dev Console</h3>
101
101
df = pd.DataFrame()
102
102
103
103
104
- def loadFromURL(*ags , **kws):
104
+ def loadFromURL(*args , **kws):
105
105
global df
106
106
107
107
# clear dataframe & output
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ <h1>To Do List</h1>
47
47
from js import document
48
48
from pyodide.ffi.wrappers import add_event_listener
49
49
50
- def add_task(*ags , **kws):
50
+ def add_task(*args , **kws):
51
51
# create a new dictionary representing the new task
52
52
new_task_content = Element("new-task-content")
53
53
task = { "content": new_task_content.value, "done": False, "created_at": dt.now() }
Original file line number Diff line number Diff line change 10
10
new_task_content = Element ("new-task-content" )
11
11
12
12
13
- def add_task (* ags , ** kws ):
13
+ def add_task (* args , ** kws ):
14
14
# ignore empty task
15
15
if not new_task_content .element .value :
16
16
return None
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export class PyScriptApp {
148
148
this . logStatus ( `Downloading ${ interpreter_cfg . name } ...` ) ;
149
149
150
150
// 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.
152
152
// Note that the load event is fired asynchronously and thus any
153
153
// exception which is throw inside the event handler is *NOT* caught
154
154
// by the try/catch inside main(): that's why we need to .catch() it
You can’t perform that action at this time.
0 commit comments