diff options
| author | Vijayakumar A <36878324+kumvijaya@users.noreply.github.com> | 2024-08-29 23:53:52 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-29 23:53:52 +0530 |
| commit | ca90f9690289bf1b2187e85ec7a64e2446de7f06 (patch) | |
| tree | 04ba6310a0c2f53adb85e8d7a7046e682d7b17cb | |
| parent | ff8b1a14222ce0e1594294cc39658020bac8e07f (diff) | |
| parent | 0b36090d8d5909be91d5c99f2f33f914213f3944 (diff) | |
| download | vyos-workflow-test-temp-ca90f9690289bf1b2187e85ec7a64e2446de7f06.tar.gz vyos-workflow-test-temp-ca90f9690289bf1b2187e85ec7a64e2446de7f06.zip | |
Merge pull request #46 from kumvijaya/current
T0000: check
| -rw-r--r-- | .github/workflows/darker-lint.yml | 3 | ||||
| -rw-r--r-- | src/tests/test_find_device_file.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml index 52dd7a7..f13d683 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -2,7 +2,7 @@ name: Darker-Ruff Lint on: - pull_request_target: + pull_request: branches: - current @@ -42,4 +42,5 @@ jobs: - name: Analyze Code run: | + ls -ltr darker -r origin/base --check --diff --lint "ruff check --config ./reusable-actions/.github/ruff.toml" --color .
\ No newline at end of file diff --git a/src/tests/test_find_device_file.py b/src/tests/test_find_device_file.py index 9c6147c..24ad81e 100644 --- a/src/tests/test_find_device_file.py +++ b/src/tests/test_find_device_file.py @@ -27,6 +27,8 @@ class TestDeviceFile(TestCase): self.assertEqual(find_device_file('null'), '/dev/null') def test_zero(self): + if False: print('False') + if True: print('True Again') self.assertEqual(find_device_file('zero'), '/dev/zero') def test_input_event(self): |
