Skip to content

Merge pull request #2 from 2lambda123/dependabot/pip/tests/vulnerabil…

Codeac.io / Codeac Code Quality succeeded Aug 15, 2024 in 1m 54s

Codeac Code Quality

This PR contains 389 errors and 1730 warnings.

Annotations

Check warning on line 78 in tests/test_detection.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check warning on line 132 in git_projects.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

consider-using-f-string

Formatting a regular string which could be a f-string

Check warning on line 84 in tests/test_detection.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check warning on line 147 in tests/test_apiserver.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check failure on line 370 in cobra/pickup.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B602

subprocess call with shell=True identified, security issue.

Check warning on line 135 in git_projects.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

logging-not-lazy

Use lazy % formatting in logging functions

Check warning on line 250 in cobra/detection.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

CodeDuplication

This block of 11 lines is too similar to cobra/detection.py:283

Check warning on line 90 in tests/test_detection.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check warning on line 154 in tests/test_apiserver.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B113

Requests call without timeout

Check warning on line 17 in tests/test_rule.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check failure on line 1 in cobra/templates/asset/js/echart_theme/infographic.js

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

Parsing error: No Babel config file detected for /tmp/commit-1222840-eslint/cobra/templates/asset/js/echart_theme/infographic.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.

Check failure on line 1 in cobra/templates/asset/codemirror/mode/clojure/clojure.js

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

Parsing error: No Babel config file detected for /tmp/commit-1222840-eslint/cobra/templates/asset/codemirror/mode/clojure/clojure.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.

Check warning on line 135 in git_projects.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

consider-using-f-string

Formatting a regular string which could be a f-string

Check warning on line 1 in tests/vulnerabilities/requirements.txt

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

PyPI Vulnerability

Artifact "jinja2" 2.8 is vulnerable to CVE-2024-34064 - Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter. Vulnerability score: 5.4 (medium).

Check failure on line 418 in cobra/pickup.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B602

subprocess call with shell=True identified, security issue.

Check warning on line 312 in cobra/detection.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

CodeDuplication

This block of 9 lines is too similar to cobra/detection.py:215

Check warning on line 98 in tests/test_detection.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check warning on line 114 in cobra/__init__.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

broad-exception-caught

Catching too general exception Exception

Check failure on line 1 in cobra/templates/asset/codemirror/mode/cmake/cmake.js

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

Parsing error: No Babel config file detected for /tmp/commit-1222840-eslint/cobra/templates/asset/codemirror/mode/cmake/cmake.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.

Check warning on line 18 in tests/test_rule.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B101

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

Check warning on line 139 in git_projects.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

missing-type-doc

"header, method, params, target_url" missing in parameter type documentation

Check warning on line 155 in tests/test_apiserver.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

B113

Requests call without timeout

Check failure on line 1 in tests/vulnerabilities/requirements.txt

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

PyPI Vulnerability

Artifact "jinja2" 2.8 is vulnerable to CVE-2016-10745 - High severity vulnerability that affects Jinja2. Vulnerability score: 8.6 (high).

Check warning on line 89 in cobra/cast.py

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

unused-variable

Unused variable 'e'

Check failure on line 1 in cobra/templates/asset/js/echart_theme/macarons.js

See this annotation in the file changed.

@codeac-io codeac-io / Codeac Code Quality

Parsing error: No Babel config file detected for /tmp/commit-1222840-eslint/cobra/templates/asset/js/echart_theme/macarons.js. Either disable config file checking with requireConfigFile: false, or configure Babel so that it can find the config files.