Skip to content

chore: remove unnecessary luacheck config #49

chore: remove unnecessary luacheck config

chore: remove unnecessary luacheck config #49

Triggered via push June 5, 2024 09:23
Status Failure
Total duration 22s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Ruff (B006): src/jupynium/buffer.py#L27
src/jupynium/buffer.py:27:26: B006 Do not use mutable data structures for argument defaults
Ruff (B007): src/jupynium/buffer.py#L71
src/jupynium/buffer.py:71:13: B007 Loop control variable `row` not used within loop body
Ruff (PTH122): src/jupynium/cmds/ipynb2jupytext.py#L55
src/jupynium/cmds/ipynb2jupytext.py:55:32: PTH122 `os.path.splitext()` should be replaced by `Path.suffix`, `Path.stem`, and `Path.parent`
Ruff (PTH103): src/jupynium/cmds/ipynb2jupytext.py#L57
src/jupynium/cmds/ipynb2jupytext.py:57:9: PTH103 `os.makedirs()` should be replaced by `Path.mkdir(parents=True)`
Ruff (PTH120): src/jupynium/cmds/ipynb2jupytext.py#L57
src/jupynium/cmds/ipynb2jupytext.py:57:21: PTH120 `os.path.dirname()` should be replaced by `Path.parent`
Ruff (PTH113): src/jupynium/cmds/ipynb2jupytext.py#L59
src/jupynium/cmds/ipynb2jupytext.py:59:12: PTH113 `os.path.isfile()` should be replaced by `Path.is_file()`
Ruff (PTH111): src/jupynium/cmds/jupynium.py#L414
src/jupynium/cmds/jupynium.py:414:30: PTH111 `os.path.expanduser()` should be replaced by `Path.expanduser()`
Ruff (D415): src/jupynium/events_control.py#L336
src/jupynium/events_control.py:336:5: D415 First line should end with a period, question mark, or exclamation point
Ruff (PTH119): src/jupynium/events_control.py#L367
src/jupynium/events_control.py:367:29: PTH119 `os.path.basename()` should be replaced by `Path.name`
Ruff (PTH118): src/jupynium/events_control.py#L368
src/jupynium/events_control.py:368:33: PTH118 `os.path.join()` should be replaced by `Path` with `/` operator
ruff
Process completed with exit code 1.