csirtgadgets/verbose-robot

View on GitHub
setup.py

Summary

Maintainability
A
0 mins
Test Coverage

Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
Wontfix

    r = os.system('py.test test -v --cov=cif --cov-fail-under=50 --pep8')
Severity: Info
Found in setup.py by bandit

Starting a process with a partial executable path
Wontfix

    r = os.system('py.test test -v --cov=cif --cov-fail-under=50 --pep8')
Severity: Info
Found in setup.py by bandit

Merge this if statement with the enclosing one.
Open

    if not ENABLE_INSTALL:
Severity: Major
Found in setup.py by sonar-python

Merging collapsible if statements increases the code's readability.

Noncompliant Code Example

if condition1:
    if condition2:
        # ...

Compliant Solution

if condition1 and condition2:
    # ...

There are no issues that match your filters.

Category
Status