Skip to content

fix flake8 errors due to new pypi dependency/rule updates#597

Merged
imatiach-msft merged 1 commit intointerpretml:mainfrom
imatiach-msft:ilmat/fix-flake8-errors
May 31, 2024
Merged

fix flake8 errors due to new pypi dependency/rule updates#597
imatiach-msft merged 1 commit intointerpretml:mainfrom
imatiach-msft:ilmat/fix-flake8-errors

Conversation

@imatiach-msft
Copy link
Collaborator

@imatiach-msft imatiach-msft commented May 30, 2024

Fix new flake8 errors that started to appear in gated builds after new versions of flake8 helper packages were released with new rules.
Specifically, I believe these are from flake8-bugbear and flake8-pytest-style updates.
Also temporarily pin scikit-learn<=1.4.2 due to issue with econml and scikit-learn in tests when validating ExplanationDashboard visualization from raiwidgets package.

Copilot summary:

This pull request primarily involves syntax modifications across several Python test files. The most significant changes include the addition of a specific error code to a BaseException in gpu_kmeans.py, and the removal of parentheses from several pytest decorators in conftest.py and test_notebooks.py.

Here are the key changes:

Syntax modifications:

@imatiach-msft imatiach-msft force-pushed the ilmat/fix-flake8-errors branch 11 times, most recently from a5f3250 to 2edf08b Compare May 31, 2024 14:39
@imatiach-msft imatiach-msft force-pushed the ilmat/fix-flake8-errors branch from 2edf08b to 671a8c5 Compare May 31, 2024 15:19
@imatiach-msft imatiach-msft merged commit d11712b into interpretml:main May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants