Skip to content

Commit

Permalink
Fix linty
Browse files Browse the repository at this point in the history
  • Loading branch information
fealho committed Feb 22, 2024
1 parent dfed849 commit 50d948a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions rdt/transformers/pii/anonymizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class AnonymizedFaker(BaseTransformer):
"""

# pylint: disable=too-many-instance-attributes

IS_GENERATOR = True
INPUT_SDTYPE = 'pii'

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ max-attributes = 11
ignore-comments = yes
ignore-docstrings = yes
ignore-imports = yes
disable = R0801, R0902, R0903, R0913, R0914, R1708, C0209, W0223, W0221, W0237, C0411,
disable = R0801, R0903, R0913, R0914, R1708, C0209, W0223, W0221, W0237, C0411,
W0231 # __init__ method from base class is not called on a child class
ignored-classes = sre_parse

4 changes: 2 additions & 2 deletions tests/unit/transformers/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import sre_parse
from sre_constants import MAXREPEAT
from unittest.mock import patch

import numpy as np
import pandas as pd
import pytest
import sre_parse
from sre_constants import MAXREPEAT

from rdt.transformers.utils import (
_any, _max_repeat, check_nan_in_transform, flatten_column_list, learn_rounding_digits,
Expand Down

0 comments on commit 50d948a

Please sign in to comment.