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

Remove unused numpy utility functions #2595

Merged

Conversation

correctmost
Copy link
Contributor

Type of Changes

Type
🔨 Refactoring

Description

Follow-up to c7ea1e9 and #2550.

I wasn't sure if more documentation or labeling was needed for changes that could impact backward compatibility.

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.22%. Comparing base (dfe1ccc) to head (8d6fdcd).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2595      +/-   ##
==========================================
+ Coverage   93.19%   93.22%   +0.03%     
==========================================
  Files          93       93              
  Lines       11055    11048       -7     
==========================================
- Hits        10303    10300       -3     
+ Misses        752      748       -4     
Flag Coverage Δ
linux 93.11% <ø> (+0.03%) ⬆️
pypy 93.22% <ø> (+0.03%) ⬆️
windows 93.21% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
astroid/brain/brain_numpy_utils.py 100.00% <ø> (+11.42%) ⬆️

DanielNoord
DanielNoord previously approved these changes Oct 2, 2024
Copy link
Collaborator

@DanielNoord DanielNoord left a comment

Choose a reason for hiding this comment

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

Since we are on 4.x and I don't think this adds much I think we can just remove.

Let's wait for another maintainers opinion though.

Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Yeah, let's not bother with deprecation periods in astroid (unless this is a widely used (™️) API).

@Pierre-Sassoulas Pierre-Sassoulas merged commit be00359 into pylint-dev:main Oct 2, 2024
21 checks passed
@correctmost correctmost deleted the cm/remove-numpy-helpers branch October 2, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants