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

Fix E721 linting errors #958

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

jklaise
Copy link
Contributor

@jklaise jklaise commented Aug 1, 2023

Most of these are imo false positives (see https://www.flake8rules.com/rules/E721.html), I don't think there is a more idiomatic way of checking that two objects are of the same (possibly unknown) type. See also PyCQA/pycodestyle#882.

@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #958 (ccd0312) into master (75cf298) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #958   +/-   ##
=======================================
  Coverage   85.23%   85.23%           
=======================================
  Files          74       74           
  Lines        8832     8832           
=======================================
  Hits         7528     7528           
  Misses       1304     1304           
Files Changed Coverage Δ
alibi/utils/distance.py 96.21% <100.00%> (ø)
alibi/utils/mapping.py 98.50% <100.00%> (ø)

@jklaise jklaise merged commit 54d0c95 into SeldonIO:master Aug 1, 2023
15 checks passed
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.

1 participant