From 152f4e660a476ed5933cc1d5f4c69cf7d721a54e Mon Sep 17 00:00:00 2001 From: JGStew Date: Tue, 27 Aug 2024 13:46:30 -0400 Subject: [PATCH] fix isort error, fix missing shell:bash --- .github/workflows/test_build.yaml | 2 ++ src/besapi/plugin_utilities.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_build.yaml b/.github/workflows/test_build.yaml index ced3877..1d8b49b 100644 --- a/.github/workflows/test_build.yaml +++ b/.github/workflows/test_build.yaml @@ -40,10 +40,12 @@ jobs: - name: Install build tools run: pip install setuptools wheel build pyinstaller - name: Install requirements + shell: bash run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Read VERSION file id: getversion + shell: bash run: echo "$(python ./setup.py --version)" - name: Run Tests - Source diff --git a/src/besapi/plugin_utilities.py b/src/besapi/plugin_utilities.py index 0feb509..8f2bfe2 100644 --- a/src/besapi/plugin_utilities.py +++ b/src/besapi/plugin_utilities.py @@ -1,10 +1,10 @@ """This is a set of utility functions for use in multiple plugins""" import argparse -import os import logging import logging.handlers import ntpath +import os import sys