KarrLab/datanator_rest_api

View on GitHub
setup.py

Summary

Maintainability
A
0 mins
Test Coverage

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
Open

    assert match and tuple(match.group(1).split('.')) >= ('0', '0', '5')
Severity: Info
Found in setup.py by bandit

Consider possible security implications associated with subprocess module.
Open

import subprocess
Severity: Info
Found in setup.py by bandit

subprocess call - check for execution of untrusted input.
Open

    result = subprocess.run(
        [sys.executable, "-m", "pip", "show", "pkg_utils"],
        check=True, capture_output=True)
Severity: Info
Found in setup.py by bandit

subprocess call - check for execution of untrusted input.
Open

    subprocess.run(
        [sys.executable, "-m", "pip", "install", "-U", "pkg_utils"],
        check=True)
Severity: Info
Found in setup.py by bandit

Line too long (82 > 79 characters)
Open

    description='A OAS3 compliant REST API for the Datanator integrated database',
Severity: Minor
Found in setup.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (80 > 79 characters)
Open

        'console_scripts': ["datanator-api = datanator_rest_api.__main__:main"],
Severity: Minor
Found in setup.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

There are no issues that match your filters.

Category
Status