Skip to content

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).

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 force-pushed the update-requirements branch from 41f20ff to e5180b8 Compare July 12, 2024 09:09
@jiasli jiasli merged commit 2a7d710 into microsoft:dev Jul 12, 2024
@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