Skip to content

Commit

Permalink
Merge pull request #66 from Erik-Lamers1/upgrade-linters-2024
Browse files Browse the repository at this point in the history
Upgrade black and pylint
  • Loading branch information
Erik-Lamers1 authored May 12, 2024
2 parents 234fd4d + 7f6972e commit d0b9b4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vnet_manager/utils/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d0b9b4d

Please sign in to comment.