Skip to content

Filtering

Filtering #2933

Triggered via pull request April 17, 2024 13:46
Status Failure
Total duration 1m 49s
Artifacts

pylint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Lint Code Base: slither/__main__.py#L1
C0302: Too many lines in module (1059/1000) (too-many-lines)
Lint Code Base: slither/__main__.py#L378
W1401: Anomalous backslash in string: '\.'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
Lint Code Base: slither/__main__.py#L304
W0707: Consider explicitly re-raising using 'except Exception as exc' and 'raise ValueError(f'Unable to parse option {element}, invalid regex.') from exc' (raise-missing-from)
Lint Code Base: slither/core/compilation_unit.py#L23
W0611: Unused FilteringRule imported from slither.core.filtering (unused-import)
Lint Code Base: slither/core/filtering.py#L39
R1719: The if expression can be replaced with 'test' (simplifiable-if-expression)
Lint Code Base: slither/core/filtering.py#L49
R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
Lint Code Base: slither/core/filtering.py#L62
R1719: The if expression can be replaced with 'test' (simplifiable-if-expression)
Lint Code Base: slither/core/slither_core.py#L352
R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
Lint Code Base: slither/core/slither_core.py#L369
R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
Lint Code Base: tests/e2e/filtering/test_filtering.py#L87
W0212: Access to a protected member _currently_seen_resuts of a client class (protected-access)