Skip to content

Commit

Permalink
Fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-narozniak committed Dec 13, 2024
1 parent 6ac5a7b commit 7b56c1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# ==============================================================================
"""VerticalEvenPartitioner class."""
# flake8: noqa: E501
# pylint: disable=C0301, R0902, R0913
from typing import Literal, Optional, Union

import numpy as np
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
# ==============================================================================
"""VerticalEvenPartitioner class tests."""
# mypy: disable-error-code=list-item,arg-type
# mypy: disable-error-code=list-item
import unittest

import numpy as np
Expand Down Expand Up @@ -44,7 +44,8 @@ def test_init_with_invalid_active_party_mode(self) -> None:
"""Test initialization with invalid active_party_columns_mode."""
with self.assertRaises(ValueError):
VerticalEvenPartitioner(
num_partitions=2, active_party_columns_mode="invalid_mode"
num_partitions=2,
active_party_columns_mode="invalid_mode", # type: ignore[arg-type]
)

def test_init_with_non_string_drop_columns(self) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# ==============================================================================
"""VerticalPartitioner utils.py."""
# flake8: noqa: E501
# pylint: disable=C0301
from typing import Any, Literal, Union


Expand Down

0 comments on commit 7b56c1f

Please sign in to comment.