Skip to content

refactor: stricter linting rules #746

refactor: stricter linting rules

refactor: stricter linting rules #746

Triggered via pull request October 15, 2024 13:02
Status Failure
Total duration 4m 14s
Artifacts

linting.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (D100): docs/conf.py#L1
docs/conf.py:1:1: D100 Missing docstring in public module
Ruff (D100): docs/serve_docs.py#L1
docs/serve_docs.py:1:1: D100 Missing docstring in public module
Ruff (D104): medmodels/__init__.py#L1
medmodels/__init__.py:1:1: D104 Missing docstring in public package
Ruff (PYI002): medmodels/_medmodels.pyi#L21
medmodels/_medmodels.pyi:21:4: PYI002 `if` test must be a simple comparison against `sys.platform` or `sys.version_info`
Ruff (D104): medmodels/medrecord/__init__.py#L1
medmodels/medrecord/__init__.py:1:1: D104 Missing docstring in public package
Ruff (D417): medmodels/medrecord/_overview.py#L21
medmodels/medrecord/_overview.py:21:5: D417 Missing argument description in the docstring for `extract_attribute_summary`: `attribute_dictionary`
Ruff (FA100): medmodels/medrecord/_overview.py#L22
medmodels/medrecord/_overview.py:22:27: FA100 Add `from __future__ import annotations` to simplify `typing.Union`
Ruff (FA100): medmodels/medrecord/_overview.py#L25
medmodels/medrecord/_overview.py:25:13: FA100 Add `from __future__ import annotations` to simplify `typing.Optional`
Ruff (FA100): medmodels/medrecord/_overview.py#L28
medmodels/medrecord/_overview.py:28:5: FA100 Add `from __future__ import annotations` to simplify `typing.Union`
Ruff (W505): medmodels/medrecord/_overview.py#L33
medmodels/medrecord/_overview.py:33:89: W505 Doc line too long (89 > 88)