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

chore: re-enable ruff F811 and fix violations #2968

Merged
merged 5 commits into from
Jun 5, 2023
Merged

Conversation

thatlittleboy
Copy link
Collaborator

F811 ruff rule is "Redefinition of unused variable".

One thing to note is that _maple.py is a piece of vendored code, so I've opted to exclude ruff linting for it (to avoid making changes to it).

@thatlittleboy thatlittleboy added the ci Relating to Continuous Integration / GitHub Actions label Jun 4, 2023
@codecov
Copy link

codecov bot commented Jun 4, 2023

Codecov Report

Merging #2968 (d664d24) into master (ae3adbe) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2968   +/-   ##
=======================================
  Coverage   54.58%   54.59%           
=======================================
  Files          90       90           
  Lines       12900    12899    -1     
=======================================
  Hits         7042     7042           
+ Misses       5858     5857    -1     
Impacted Files Coverage Δ
shap/benchmark/experiments.py 0.00% <ø> (ø)
shap/utils/_general.py 64.28% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@thatlittleboy thatlittleboy added this to the 2023-06-fixes milestone Jun 4, 2023
Copy link
Collaborator

@connortann connortann left a comment

Choose a reason for hiding this comment

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

Some minor nitpick suggestions, which I'll leave to you to decide on & then merge. Otherwise LGTM, approved!

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
@thatlittleboy thatlittleboy merged commit 9609447 into master Jun 5, 2023
@thatlittleboy thatlittleboy deleted the fix-ruff-F811 branch June 5, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Relating to Continuous Integration / GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants