Skip to content

Apply black and ruff. #1

Apply black and ruff.

Apply black and ruff. #1

Triggered via push July 28, 2023 10:57
Status Failure
Total duration 22s
Artifacts

black-ruff.yml

on: push
black-format-check
11s
black-format-check
ruff-format-check
8s
ruff-format-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff (E402): docs/examples/plot_convert_lightgbm.py#L86
docs/examples/plot_convert_lightgbm.py:86:1: E402 Module level import not at top of file
Ruff (E402): docs/examples/plot_convert_lightgbm.py#L87
docs/examples/plot_convert_lightgbm.py:87:1: E402 Module level import not at top of file
Ruff (E402): docs/examples/plot_convert_lightgbm.py#L88
docs/examples/plot_convert_lightgbm.py:88:1: E402 Module level import not at top of file
Ruff (E402): docs/examples/plot_convert_sklearn.py#L96
docs/examples/plot_convert_sklearn.py:96:1: E402 Module level import not at top of file
Ruff (E402): docs/examples/plot_convert_sklearn.py#L97
docs/examples/plot_convert_sklearn.py:97:1: E402 Module level import not at top of file
Ruff (E402): docs/examples/plot_convert_sklearn.py#L98
docs/examples/plot_convert_sklearn.py:98:1: E402 Module level import not at top of file
Ruff (F811): docs/examples/plot_convert_sparkml.py#L32
docs/examples/plot_convert_sparkml.py:32:39: F811 Redefinition of unused `LogisticRegression` from line 26
Ruff (F811): docs/examples/plot_convert_sparkml.py#L33
docs/examples/plot_convert_sparkml.py:33:39: F811 Redefinition of unused `LogisticRegression` from line 32
Ruff (E402): docs/examples/plot_convert_sparkml.py#L117
docs/examples/plot_convert_sparkml.py:117:1: E402 Module level import not at top of file
Ruff (E402): docs/examples/plot_convert_sparkml.py#L118
docs/examples/plot_convert_sparkml.py:118:1: E402 Module level import not at top of file
black-format-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/