Skip to content

Commit

Permalink
Pylint fix zz
Browse files Browse the repository at this point in the history
  • Loading branch information
lechevaa committed Oct 1, 2024
1 parent 1802ccc commit 1067a97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/pyopmnearwell/ml/scaler_layers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: skip-file
"""Provide MinMax scaler layers for tensorflow.keras.
Warning: Tensorflow 2.17 and Keras 3.0 introduce many pylint errors, hence we disable
Expand All @@ -13,9 +14,6 @@
import tensorflow as tf
from numpy.typing import ArrayLike

# pylint: skip-file


class ScalerLayer(keras.layers.Layer):
"""MixIn to provide functionality for the Scaler Layer."""

Expand Down
3 changes: 1 addition & 2 deletions tests/test_scaler_layers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# pylint: skip-file
# pylint: disable=missing-function-docstring
"""Test the ``ml.scaler_layers`` module.
Expand All @@ -18,8 +19,6 @@

from pyopmnearwell.ml.scaler_layers import MinMaxScalerLayer, MinMaxUnScalerLayer

# pylint: skip-file

rng: np.random.Generator = np.random.default_rng()

layers: list[str] = ["scaler", "unscaler"]
Expand Down

0 comments on commit 1067a97

Please sign in to comment.