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

Updating pylint setup for pre-commit #198

Merged
merged 1 commit into from
Mar 18, 2024
Merged

Conversation

castelao
Copy link
Member

The mirrors-pylint was archived.

I'm getting an error with pylint, that hopefully will fix with a newer version (or with ruff).

@castelao castelao requested a review from bnb32 March 16, 2024 00:42
@castelao castelao self-assigned this Mar 16, 2024
@bnb32
Copy link
Collaborator

bnb32 commented Mar 17, 2024

The mirrors-pylint was archived.

I'm getting an error with pylint, that hopefully will fix with a newer version (or with ruff).

I'm all for switching to ruff as our sole linter, if @grantbuster is cool with it.

@castelao
Copy link
Member Author

Independent of moving to ruff or not, shall I move ahead and update pylint anyways?

@bnb32 , are the tests failing due to the latest TensorFlow?

@bnb32
Copy link
Collaborator

bnb32 commented Mar 17, 2024

Independent of moving to ruff or not, shall I move ahead and update pylint anyways?

@bnb32 , are the tests failing due to the latest TensorFlow?

Yes, and yes - let's pin tensorflow to <2.16

castelao added a commit that referenced this pull request Mar 18, 2024
There is something going wrong with TF-2.16 (see PR #198).
castelao added a commit that referenced this pull request Mar 18, 2024
* fix: np.product() is deprecated

Replaced by np.prod()

* fix: gaussian_filter() moving to scipy.ndimage

The `scipy.ndimage.filters` namespace is deprecated and will be removed in SciPy 2.0.0

* Explicit requirement on numpy and scipy

I just noticed that although numpy and scipy are used explicitly in
sup3r, there was no explicit dependency on those. The respective minimum
versions where defined based on the syntax update in the previous
commit.

* Holding TensorFlow to <2.16

There is something going wrong with TF-2.16 (see PR #198).
The mirrors-pylint was archived.

I'm getting an error with pylint, that hopefully will fix with a newer
version.
github-actions bot pushed a commit that referenced this pull request Mar 18, 2024
* fix: np.product() is deprecated

Replaced by np.prod()

* fix: gaussian_filter() moving to scipy.ndimage

The `scipy.ndimage.filters` namespace is deprecated and will be removed in SciPy 2.0.0

* Explicit requirement on numpy and scipy

I just noticed that although numpy and scipy are used explicitly in
sup3r, there was no explicit dependency on those. The respective minimum
versions where defined based on the syntax update in the previous
commit.

* Holding TensorFlow to <2.16

There is something going wrong with TF-2.16 (see PR #198).
@castelao castelao merged commit 519c6be into main Mar 18, 2024
6 checks passed
@castelao castelao deleted the pylint_precommit_update branch March 18, 2024 15:37
github-actions bot pushed a commit that referenced this pull request Mar 18, 2024
The mirrors-pylint was archived.

I'm getting an error with pylint, that hopefully will fix with a newer
version.
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.

None yet

2 participants