diff options
-rw-r--r-- | .github/workflows/darker-lint.yml | 4 | ||||
-rw-r--r-- | src/tests/test_op_mode.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/darker-lint.yml b/.github/workflows/darker-lint.yml index 72edf87..4799c0f 100644 --- a/.github/workflows/darker-lint.yml +++ b/.github/workflows/darker-lint.yml @@ -29,7 +29,7 @@ jobs: - name: darker install run: | - pip install git+https://github.com/akaihola/darker.git@master isort==5.11.4 ruff>=0.0.292 + pip install git+https://github.com/akaihola/darker.git@master ruff>=0.0.292 - name: Fetch base branch run: | @@ -37,4 +37,4 @@ jobs: - name: Analyze Code run: | - darker -r ${base_ref} --check --diff --lint "ruff check" --isort --color ./src
\ No newline at end of file + darker -r ${base_ref} --check --diff --lint "ruff check" --color ./src
\ No newline at end of file diff --git a/src/tests/test_op_mode.py b/src/tests/test_op_mode.py index 90963b3..d4e90b0 100644 --- a/src/tests/test_op_mode.py +++ b/src/tests/test_op_mode.py @@ -21,7 +21,7 @@ import vyos.opmode class TestVyOSOpMode(TestCase): def test_field_name_normalization(self): from vyos.opmode import _normalize_field_name - + if False: print('False') self.assertEqual(_normalize_field_name(" foo bar "), "foo_bar") self.assertEqual(_normalize_field_name("foo-bar"), "foo_bar") self.assertEqual(_normalize_field_name("foo (bar) baz"), "foo_bar_baz") |