Skip to content

UP015 (0)

UP015 (0) #95185

Triggered via pull request January 9, 2025 11:14
Status Failure
Total duration 25m 58s
Artifacts 1

pre-commit.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Ruff (B018): Packs/CofenseTriage/Integrations/CofenseTriagev2/CofenseTriagev2_test.py#L659
Packs/CofenseTriage/Integrations/CofenseTriagev2/CofenseTriagev2_test.py:659:9: B018 Found useless attribute access. Either assign it to a variable or remove it.
Ruff (SIM102): Packs/CommonScripts/Scripts/CheckIndicatorValue/CheckIndicatorValue.py#L10
Packs/CommonScripts/Scripts/CheckIndicatorValue/CheckIndicatorValue.py:10:5: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (SIM102): Packs/CommonScripts/Scripts/CommandLineAnalysis/CommandLineAnalysis.py#L30
Packs/CommonScripts/Scripts/CommandLineAnalysis/CommandLineAnalysis.py:30:9: SIM102 Use a single `if` statement instead of nested `if` statements
Ruff (B015): Packs/CommonScripts/Scripts/Dig/Dig_test.py#L37
Packs/CommonScripts/Scripts/Dig/Dig_test.py:37:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
Ruff (B015): Packs/CommonScripts/Scripts/Dig/Dig_test.py#L38
Packs/CommonScripts/Scripts/Dig/Dig_test.py:38:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
Ruff (B015): Packs/CommonScripts/Scripts/Dig/Dig_test.py#L56
Packs/CommonScripts/Scripts/Dig/Dig_test.py:56:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
Ruff (B015): Packs/CommonScripts/Scripts/Dig/Dig_test.py#L57
Packs/CommonScripts/Scripts/Dig/Dig_test.py:57:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
Ruff (B015): Packs/CommonScripts/Scripts/ExtractIndicatorsFromWordFile/ExtractIndicatorsFromWordFile_test.py#L174
Packs/CommonScripts/Scripts/ExtractIndicatorsFromWordFile/ExtractIndicatorsFromWordFile_test.py:174:5: B015 Pointless comparison. This comparison does nothing but waste CPU instructions. Either prepend `assert` or remove it.
Ruff (B023): Packs/CommonScripts/Scripts/RepopulateFiles/RepopulateFiles.py#L65
Packs/CommonScripts/Scripts/RepopulateFiles/RepopulateFiles.py:65:50: B023 Function definition does not bind loop variable `hobj`
pre-commit / pre-commit: Packs/CommonScripts/Scripts/ContentPackInstaller/ContentPackInstaller_test.py#L23
test_get_pack_data_from_marketplace_strip_array IndexError: list index out of range
pre-commit / pre-commit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pre-commit / pre-commit
Your comment is too long (maximum is 65536 characters), coverage report will not be added.
pre-commit / pre-commit
Try add: "--cov-report=term-missing:skip-covered", or add "hide-report: true", or add "report-only-changed-files: true", or switch to "multiple-files" mode

Artifacts

Produced during runtime
Name Size
pytest
217 Bytes