Skip to content

Apply suggested changes from review comments

Codacy Production / Codacy Static Code Analysis required action Jul 17, 2024 in 0s

13 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 13
           

Complexity increasing per file
==============================
- docker/images/build-env-base/run-clang-format.py  24
         

Clones added
============
- docker/images/build-env-base/run-clang-format.py  1
         

See the complete overview on Codacy

Annotations

Check warning on line 74 in docker/images/build-env-base/Dockerfile

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/Dockerfile#L74

Use WORKDIR to switch to a directory

Check warning on line 48 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L48

Consider possible security implications associated with the subprocess module.

Check warning on line 55 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L55

Consider possible security implications associated with the subprocess module.

Check notice on line 159 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L159

Trailing whitespace

Check warning on line 195 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L195

subprocess call - check for execution of untrusted input.

Check failure on line 204 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L204

Python possesses many mechanisms to invoke an external executable.

Check failure on line 222 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L222

Python possesses many mechanisms to invoke an external executable.

Check notice on line 265 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L265

ambiguous variable name 'l' (E741)

Check notice on line 277 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L277

main is too complex (21) (MC0001)

Check warning on line 358 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L358

subprocess call - check for execution of untrusted input.

Check failure on line 366 in docker/images/build-env-base/run-clang-format.py

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-env-base/run-clang-format.py#L366

Python possesses many mechanisms to invoke an external executable.

Check warning on line 4 in docker/images/build-kit-base/entrypoint.sh

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-kit-base/entrypoint.sh#L4

Double quote to prevent globbing and word splitting.

Check warning on line 5 in docker/images/build-kit-base/entrypoint.sh

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

docker/images/build-kit-base/entrypoint.sh#L5

Double quote to prevent globbing and word splitting.