diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index c841c4f..cda16e9 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -16,7 +16,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install 'black==22.8.0' + pip install 'black==24.4.2' - name: Analysing code formatting with Black run: | black --check --diff --line-length 140 --target-version py38 vnet_manager diff --git a/requirements/test.txt b/requirements/test.txt index e432221..b5cec89 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -2,8 +2,8 @@ # These requirements are only needed when running the tests (Pytest atm) pytest==7.1.2 -pylint==2.15.4 -black==22.8.0 +pylint==3.1.0 +black==24.4.2 codecov==2.1.13 pytest-cov==2.12.1 yamllint==1.26.3 diff --git a/vnet_manager/utils/user.py b/vnet_manager/utils/user.py index c238e48..e21a4e3 100644 --- a/vnet_manager/utils/user.py +++ b/vnet_manager/utils/user.py @@ -59,7 +59,7 @@ def request_confirmation( return if response in ("n", "no"): func(*args, **kwargs) - return + return # pylint: disable=W0101 if response is not None: print("Please answer yes or no.") response = input(prompt).lower()