Skip to content

Commit

Permalink
Update requirements (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli authored Jul 12, 2024
1 parent 7a78f6a commit 2a7d710
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion azure-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: 3.11
versionSpec: 3.12
- bash: |
set -ev
Expand Down
6 changes: 2 additions & 4 deletions knack/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,7 @@ def _layout_items(items):
'line_len': line_len
}
layout['summary'] = layout['summary'].replace('\n', ' ')
if line_len > self.max_line_len:
self.max_line_len = line_len
self.max_line_len = max(line_len, self.max_line_len)
layouts.append(layout)
return layouts

Expand Down Expand Up @@ -586,8 +585,7 @@ def _layout_items(items):
'group_name': c.group_name,
'line_len': line_len
}
if line_len > self.max_line_len:
self.max_line_len = line_len
self.max_line_len = max(line_len, self.max_line_len)
layouts.append(layout)
return layouts

Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
argcomplete==3.1.1
flake8==6.0.0
argcomplete==3.4.0
flake8==7.1.0
jmespath==1.0.1
packaging==23.1
Pygments==2.15.1
pylint==2.17.4
pytest==7.4.0
packaging==24.1
Pygments==2.18.0
pylint==3.2.5
pytest==8.2.2
PyYAML
tabulate==0.9.0
vcrpy==5.0.0
vcrpy==6.0.1

0 comments on commit 2a7d710

Please sign in to comment.