UP015 (0) #95185
Annotations
10 errors and 3 warnings
run pre-commit:
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.
|
run pre-commit:
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
|
run pre-commit:
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
|
run pre-commit:
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.
|
run pre-commit:
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.
|
run pre-commit:
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.
|
run pre-commit:
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.
|
run pre-commit:
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.
|
run pre-commit:
Packs/CommonScripts/Scripts/RepopulateFiles/RepopulateFiles.py#L65
Packs/CommonScripts/Scripts/RepopulateFiles/RepopulateFiles.py:65:50: B023 Function definition does not bind loop variable `hobj`
|
run pre-commit:
Packs/CommonScripts/Scripts/ContentPackInstaller/ContentPackInstaller_test.py#L23
test_get_pack_data_from_marketplace_strip_array
IndexError: list index out of range
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Pytest coverage comment
Your comment is too long (maximum is 65536 characters), coverage report will not be added.
|
Pytest coverage comment
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
|
Loading