diff options
author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-08-03 16:45:06 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 16:45:06 +0530 |
commit | ae399e3687670c941c26ca25991d671b988fdd7f (patch) | |
tree | af39112e72cca236e85787f72d20757ada3e2734 | |
parent | b65fe1088ebc1115f6d1662cbaab98f9110c99f9 (diff) | |
download | vyos-workflow-test-temp-ae399e3687670c941c26ca25991d671b988fdd7f.tar.gz vyos-workflow-test-temp-ae399e3687670c941c26ca25991d671b988fdd7f.zip |
T0000: test link commit
-rw-r--r-- | .github/workflows/darker-lint.yml | 19 | ||||
-rw-r--r-- | src/tests/helper.py | 3 |
2 files changed, 22 insertions, 0 deletions
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') |