Skip to content

Added document logging & unit tests #4

Added document logging & unit tests

Added document logging & unit tests #4

Triggered via pull request August 9, 2024 10:00
Status Failure
Total duration 42s
Artifacts

Lint-and-test.yml

on: pull_request
Matrix: tests
call-linter-workflow  /  ruff
5s
call-linter-workflow / ruff
call-linter-workflow  /  pyright
15s
call-linter-workflow / pyright
Final Results
0s
Final Results
Fit to window
Zoom out
Zoom in

Annotations

13 errors
call-linter-workflow / ruff
Process completed with exit code 123.
Ruff (D400): src/ibex_bluesky_core/callbacks/document_logger.py#L1
src/ibex_bluesky_core/callbacks/document_logger.py:1:1: D400 First line should end with a period
Ruff (D415): src/ibex_bluesky_core/callbacks/document_logger.py#L1
src/ibex_bluesky_core/callbacks/document_logger.py:1:1: D415 First line should end with a period, question mark, or exclamation point
Ruff (E401): src/ibex_bluesky_core/callbacks/document_logger.py#L3
src/ibex_bluesky_core/callbacks/document_logger.py:3:1: E401 Multiple imports on one line
Ruff (I001): src/ibex_bluesky_core/callbacks/document_logger.py#L3
src/ibex_bluesky_core/callbacks/document_logger.py:3:1: I001 Import block is un-sorted or un-formatted
Ruff (E501): src/ibex_bluesky_core/callbacks/document_logger.py#L6
src/ibex_bluesky_core/callbacks/document_logger.py:6:101: E501 Line too long (101 > 100)
Ruff (D101): src/ibex_bluesky_core/callbacks/document_logger.py#L9
src/ibex_bluesky_core/callbacks/document_logger.py:9:7: D101 Missing docstring in public class
Ruff (D107): src/ibex_bluesky_core/callbacks/document_logger.py#L11
src/ibex_bluesky_core/callbacks/document_logger.py:11:9: D107 Missing docstring in `__init__`
Ruff (ANN204): src/ibex_bluesky_core/callbacks/document_logger.py#L15
src/ibex_bluesky_core/callbacks/document_logger.py:15:9: ANN204 Missing return type annotation for special method `__call__`
Ruff (D102): src/ibex_bluesky_core/callbacks/document_logger.py#L15
src/ibex_bluesky_core/callbacks/document_logger.py:15:9: D102 Missing docstring in public method
Ruff (ANN001): src/ibex_bluesky_core/callbacks/document_logger.py#L15
src/ibex_bluesky_core/callbacks/document_logger.py:15:24: ANN001 Missing type annotation for function argument `name`
call-linter-workflow / pyright
Process completed with exit code 1.
Final Results
Process completed with exit code 1.