feat: ruff select all rules except ignored rules #379
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.
|