Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements #285

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Update requirements #285

merged 1 commit into from
Jul 12, 2024

Conversation

jiasli
Copy link
Member

@jiasli jiasli commented Jul 10, 2024

Update requirements to make sure all latest dependencies work with Python 3.12 (#279).

@@ -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)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To solve pylint error:

> pylint knack --rcfile=.pylintrc --reports n --disable I0013
************* Module knack.help
knack\help.py:467:16: R1731: Consider using 'max_line_len = max(max_line_len, line_len)' instead of unnecessary if block (consider-using-max-builtin)
knack\help.py:589:16: R1731: Consider using 'max_line_len = max(max_line_len, line_len)' instead of unnecessary if block (consider-using-max-builtin)

@jiasli jiasli mentioned this pull request Jul 12, 2024
@jiasli jiasli merged commit 2a7d710 into microsoft:dev Jul 12, 2024
8 checks passed
@jiasli jiasli deleted the update-requirements branch July 12, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants