Skip to content

Add attribute check #4200

Add attribute check

Add attribute check #4200

Triggered via pull request February 25, 2025 18:02
Status Failure
Total duration 1m 24s
Artifacts 1

mega-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (D100): newrelic/samplers/gc_data.py#L1
newrelic/samplers/gc_data.py:1:1: D100 Missing docstring in public module
Ruff (ANN204): newrelic/samplers/gc_data.py#L29
newrelic/samplers/gc_data.py:29:9: ANN204 Missing return type annotation for special method `__init__`
Ruff (ANN101): newrelic/samplers/gc_data.py#L29
newrelic/samplers/gc_data.py:29:18: ANN101 Missing type annotation for `self` in method
Ruff (ANN001): newrelic/samplers/gc_data.py#L29
newrelic/samplers/gc_data.py:29:24: ANN001 Missing type annotation for function argument `settings`
Ruff (ARG002): newrelic/samplers/gc_data.py#L29
newrelic/samplers/gc_data.py:29:24: ARG002 Unused method argument: `settings`
Ruff (ANN001): newrelic/samplers/gc_data.py#L29
newrelic/samplers/gc_data.py:29:34: ANN001 Missing type annotation for function argument `environ`
Ruff (ARG002): newrelic/samplers/gc_data.py#L29
newrelic/samplers/gc_data.py:29:34: ARG002 Unused method argument: `environ`
Ruff (ANN202): newrelic/samplers/gc_data.py#L36
newrelic/samplers/gc_data.py:36:9: ANN202 Missing return type annotation for private function `enabled`
Ruff (ANN101): newrelic/samplers/gc_data.py#L36
newrelic/samplers/gc_data.py:36:17: ANN101 Missing type annotation for `self` in method
Ruff (RET505): newrelic/samplers/gc_data.py#L41
newrelic/samplers/gc_data.py:41:9: RET505 Unnecessary `elif` after `return` statement

Artifacts

Produced during runtime
Name Size
Mega-Linter reports
5.12 KB