Skip to content

feat: ruff select all rules except ignored rules #379

feat: ruff select all rules except ignored rules

feat: ruff select all rules except ignored rules #379

Triggered via push January 2, 2025 04:59
Status Failure
Total duration 13s
Artifacts

lint.yml

on: push
ruff-lint  /  ruff
4s
ruff-lint / ruff
Fit to window
Zoom out
Zoom in

Annotations

8 errors
Ruff (C901): src/ml_project/__init__.py#L201
src/ml_project/__init__.py:201:5: C901 `setup_logging` is too complex (13 > 10)
Ruff (SLF001): src/ml_project/__init__.py#L312
src/ml_project/__init__.py:312:41: SLF001 Private member accessed: `_levelToName`
Ruff (C901): src/ml_project/cli/docstring.py#L12
src/ml_project/cli/docstring.py:12:5: C901 `from_docstring` is too complex (11 > 10)
Ruff (EM102): src/ml_project/utils/config.py#L71
src/ml_project/utils/config.py:71:21: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (EM102): src/ml_project/utils/config.py#L102
src/ml_project/utils/config.py:102:34: EM102 Exception must not use an f-string literal, assign to variable first
Ruff (TC003): src/ml_project/utils/deferred_logger.py#L2
src/ml_project/utils/deferred_logger.py:2:29: TC003 Move standard library import `collections.abc.Sequence` into a type-checking block
Ruff (EM101): tools/examples/color_logging_main.py#L23
tools/examples/color_logging_main.py:23:21: EM101 Exception must not use a string literal, assign to variable first
ruff-lint / ruff
Process completed with exit code 1.