Skip to content

Standardize code style guidelines and pre-commit hooks. #2

Standardize code style guidelines and pre-commit hooks.

Standardize code style guidelines and pre-commit hooks. #2

Triggered via pull request July 19, 2024 15:50
Status Failure
Total duration 36s
Artifacts

check-source.yml

on: pull_request
Check that the pre-commit hooks have run
28s
Check that the pre-commit hooks have run
Report lint failures
6s
Report lint failures
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (I001): tests/test_clicks.py#L1
tests/test_clicks.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): tests/test_clicks.py#L6
tests/test_clicks.py:6:22: F401 `datetime.datetime` imported but unused
Ruff (F401): tests/test_clicks.py#L8
tests/test_clicks.py:8:8: F401 `json` imported but unused
Ruff (E501): tests/test_clicks.py#L56
tests/test_clicks.py:56:121: E501 Line too long (129 > 120)
Ruff (E501): tests/test_clicks.py#L57
tests/test_clicks.py:57:121: E501 Line too long (129 > 120)
Report lint failures
Process completed with exit code 1.
pre-commit: dev/example-test.py#L1
pre-commit wants to modify file
pre-commit: tests/test_clicks.py#L1
pre-commit wants to modify file
pre-commit
committed code does not cleanly pass pre-commit
Check that the pre-commit hooks have run
Process completed with exit code 1.