Skip to content

Pylint: Enable some import checks#2538

Merged
LiliDeng merged 1 commit into
microsoft:mainfrom
avylove:pylint_8
Jan 23, 2023
Merged

Pylint: Enable some import checks#2538
LiliDeng merged 1 commit into
microsoft:mainfrom
avylove:pylint_8

Conversation

@avylove
Copy link
Copy Markdown
Contributor

@avylove avylove commented Jan 19, 2023

Enables consider-using-from-import and deprecated-module checks
consider-using-from-import check for things like import lisa.util.constants as constants
The deprecated-module check found one use of distutils which was deprecated in 3.10 and will be removed in 3.12. The only use is a simple function, so I added equivalent logic instead.

Comment thread lisa/variable.py
@squirrelsc
Copy link
Copy Markdown
Contributor

@LiliDeng LGTM, please merge it in next Monday.

@LiliDeng LiliDeng merged commit 884d65a into microsoft:main Jan 23, 2023
@avylove avylove deleted the pylint_8 branch August 8, 2023 15:38
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