Skip to content

Run ruff format when lsp formatting is invoked #112

Run ruff format when lsp formatting is invoked

Run ruff format when lsp formatting is invoked #112

Triggered via pull request November 7, 2023 22:06
Status Failure
Total duration 44s
Artifacts

python.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 4 warnings, and 8 notices
build (3.8)
The process '/opt/hostedtoolcache/Python/3.8.18/x64/bin/pre-commit' failed with exit code 1
build (3.7)
The process '/opt/hostedtoolcache/Python/3.7.17/x64/bin/pre-commit' failed with exit code 1
build (3.9)
The operation was canceled.
build (3.10)
The operation was canceled.
build (3.8)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, pre-commit/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (3.7)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, pre-commit/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (3.9)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, pre-commit/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (3.10)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, pre-commit/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Ruff: tests/test_ruff_format.py#L58
(E501) Line too long (114 > 88 characters)
Ruff: tests/test_ruff_format.py#L66
(E501) Line too long (169 > 88 characters)
Ruff: tests/test_ruff_format.py#L81
(E501) Line too long (166 > 88 characters)
Ruff: pylsp_ruff/plugin.py#L79
(E999) SyntaxError: invalid syntax. Got unexpected token 'self'
Ruff: tests/test_ruff_format.py#L58
(E501) Line too long (114 > 88 characters)
Ruff: tests/test_ruff_format.py#L66
(E501) Line too long (169 > 88 characters)
Ruff: tests/test_ruff_format.py#L81
(E501) Line too long (166 > 88 characters)
Ruff: pylsp_ruff/plugin.py#L79
(E999) SyntaxError: invalid syntax. Got unexpected token 'self'