Skip to content

ci: switch linter & formatter to ruff #1

ci: switch linter & formatter to ruff

ci: switch linter & formatter to ruff #1

Triggered via pull request April 5, 2024 13:58
Status Failure
Total duration 16s
Artifacts

ruff.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (F401): nazurin/models/ugoira.py#L1
nazurin/models/ugoira.py:1:8: F401 `os` imported but unused
Ruff (F401): nazurin/models/ugoira.py#L3
nazurin/models/ugoira.py:3:20: F401 `typing.Optional` imported but unused
Ruff (F403): nazurin/sites/danbooru/__init__.py#L4
nazurin/sites/danbooru/__init__.py:4:1: F403 `from .commands import *` used; unable to detect undefined names
Ruff (F403): nazurin/sites/moebooru/__init__.py#L4
nazurin/sites/moebooru/__init__.py:4:1: F403 `from .commands import *` used; unable to detect undefined names
Ruff (F403): nazurin/sites/pixiv/__init__.py#L4
nazurin/sites/pixiv/__init__.py:4:1: F403 `from .commands import *` used; unable to detect undefined names
Ruff (F403): nazurin/sites/twitter/__init__.py#L4
nazurin/sites/twitter/__init__.py:4:1: F403 `from .commands import *` used; unable to detect undefined names
Ruff (F403): nazurin/sites/zerochan/__init__.py#L4
nazurin/sites/zerochan/__init__.py:4:1: F403 `from .commands import *` used; unable to detect undefined names
ruff
Unable to process command '::add-matcher::/home/runner/work/_actions/y-young/ruff-action/v1/matchers/*.json' successfully.
ruff
Could not find file '/home/runner/work/_actions/y-young/ruff-action/v1/matchers/*.json'.
ruff
Process completed with exit code 1.