Skip to content

Added document logging & unit tests #5

Added document logging & unit tests

Added document logging & unit tests #5

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

Lint-and-test.yml

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

Annotations

12 errors
Ruff (D200): src/ibex_bluesky_core/callbacks/document_logger.py#L11
src/ibex_bluesky_core/callbacks/document_logger.py:11:5: D200 One-line docstring should fit on one line
Ruff (D212): src/ibex_bluesky_core/callbacks/document_logger.py#L11
src/ibex_bluesky_core/callbacks/document_logger.py:11:5: D212 Multi-line docstring summary should start at the first line
Ruff (D200): src/ibex_bluesky_core/callbacks/document_logger.py#L16
src/ibex_bluesky_core/callbacks/document_logger.py:16:9: D200 One-line docstring should fit on one line
Ruff (D202): src/ibex_bluesky_core/callbacks/document_logger.py#L16
src/ibex_bluesky_core/callbacks/document_logger.py:16:9: D202 No blank lines allowed after function docstring (found 1)
Ruff (D212): src/ibex_bluesky_core/callbacks/document_logger.py#L16
src/ibex_bluesky_core/callbacks/document_logger.py:16:9: D212 Multi-line docstring summary should start at the first line
Ruff (D401): src/ibex_bluesky_core/callbacks/document_logger.py#L16
src/ibex_bluesky_core/callbacks/document_logger.py:16:9: D401 First line of docstring should be in imperative mood: "Initialises current_start_document and filename."
Ruff (D202): src/ibex_bluesky_core/callbacks/document_logger.py#L24
src/ibex_bluesky_core/callbacks/document_logger.py:24:9: D202 No blank lines allowed after function docstring (found 1)
Ruff (D212): src/ibex_bluesky_core/callbacks/document_logger.py#L24
src/ibex_bluesky_core/callbacks/document_logger.py:24:9: D212 Multi-line docstring summary should start at the first line
Ruff (D413): src/ibex_bluesky_core/callbacks/document_logger.py#L27
src/ibex_bluesky_core/callbacks/document_logger.py:27:9: D413 Missing blank line after last section ("Args")
call-linter-workflow / ruff
Process completed with exit code 123.
call-linter-workflow / pyright
Process completed with exit code 1.
Final Results
Process completed with exit code 1.