Standardize code style guidelines and pre-commit hooks. #2
check-source.yml
on: pull_request
Check that the pre-commit hooks have run
28s
Report lint failures
6s
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.
|