From ae399e3687670c941c26ca25991d671b988fdd7f Mon Sep 17 00:00:00 2001 From: Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> Date: Sat, 3 Aug 2024 16:45:06 +0530 Subject: T0000: test link commit --- .github/workflows/darker-lint.yml | 19 +++++++++++++++++++ src/tests/helper.py | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/darker-lint.yml diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml new file mode 100644 index 0000000..ab574a2 --- /dev/null +++ b/.github/workflows/darker-lint.yml @@ -0,0 +1,19 @@ +--- +name: Darker Lint + +on: [push, pull_request] + +jobs: + darker-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-python@v5 + - uses: akaihola/darker@v2.1.1 + with: + options: "--check --diff --isort --color" + src: "." + version: "~=2.1.1" + lint: "flake8,pylint==2.13.1" \ No newline at end of file diff --git a/src/tests/helper.py b/src/tests/helper.py index f703314..57922e0 100644 --- a/src/tests/helper.py +++ b/src/tests/helper.py @@ -22,3 +22,6 @@ def prepare_module(file_path='', module_name=''): module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) sys.modules[module_name] = module + if True: print('True') + print() + if False: print('False') -- cgit v1.2.3