diff options
author | Alex Tawse <alex.tawse@arm.com> | 2023-09-29 15:55:38 +0100 |
---|---|---|
committer | Richard <richard.burton@arm.com> | 2023-10-26 12:35:48 +0000 |
commit | daba3cf2e3633cbd0e4f8aabe7578b97e88deee1 (patch) | |
tree | 51024b8025e28ecb2aecd67246e189e25f5a6e6c /model_conditioning_examples/setup.sh | |
parent | a11976fb866f77305708f832e603b963969e6a14 (diff) | |
download | ml-embedded-evaluation-kit-daba3cf2e3633cbd0e4f8aabe7578b97e88deee1.tar.gz |
MLECO-3995: Pylint + Shellcheck compatibility
* All Python scripts updated to abide by Pylint rules
* good-names updated to permit short variable names:
i, j, k, f, g, ex
* ignore-long-lines regex updated to allow long lines
for licence headers
* Shell scripts now compliant with Shellcheck
Signed-off-by: Alex Tawse <Alex.Tawse@arm.com>
Change-Id: I8d5af8279bc08bb8acfe8f6ee7df34965552bbe5
Diffstat (limited to 'model_conditioning_examples/setup.sh')
-rw-r--r-- | model_conditioning_examples/setup.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/model_conditioning_examples/setup.sh b/model_conditioning_examples/setup.sh index 92de78a..678f9d3 100644 --- a/model_conditioning_examples/setup.sh +++ b/model_conditioning_examples/setup.sh @@ -1,5 +1,7 @@ +#!/bin/bash + #---------------------------------------------------------------------------- -# SPDX-FileCopyrightText: Copyright 2021 Arm Limited and/or its affiliates <open-source-office@arm.com> +# SPDX-FileCopyrightText: Copyright 2021, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com> # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -14,8 +16,9 @@ # See the License for the specific language governing permissions and # limitations under the License. #---------------------------------------------------------------------------- -#!/bin/bash + python3 -m venv ./env +# shellcheck disable=SC1091 source ./env/bin/activate pip install -U pip -pip install -r requirements.txt
\ No newline at end of file +pip install -r requirements.txt |