Skip to content

Commit 348572c

Browse files
committed
Lint
1 parent 067b1c4 commit 348572c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/sssom/cliques.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import statistics
55
import uuid
66
from collections import defaultdict
7-
from typing import TYPE_CHECKING, Any, DefaultDict, Dict, List, Optional, Set
7+
from typing import TYPE_CHECKING, DefaultDict, Dict, List, Optional, Set
88

99
import pandas as pd
1010
from sssom_schema import Mapping, MappingSet

src/sssom/parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ def _get_mapping_set_from_df(df: pd.DataFrame, meta: Optional[MetadataType] = No
10021002

10031003
mapping_slots = set(_get_sssom_schema_object().mapping_slots)
10041004

1005-
df.apply( # type:ignore
1005+
df.apply( # type:ignore
10061006
lambda row: _add_valid_mapping_to_list(
10071007
_get_mapping_dict(row, bad_attrs, mapping_slots), mapping_set.mappings
10081008
),

src/sssom/util.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,9 @@ def deal_with_negation(df: pd.DataFrame) -> pd.DataFrame:
11981198

11991199
# GroupBy and SELECT ONLY maximum confidence
12001200
max_confidence_df: pd.DataFrame
1201-
max_confidence_df = combined_normalized_subset.groupby(TRIPLES_IDS, as_index=False)[ # type:ignore
1201+
max_confidence_df = combined_normalized_subset.groupby(
1202+
TRIPLES_IDS, as_index=False
1203+
)[ # type:ignore
12021204
CONFIDENCE
12031205
].max()
12041206

0 commit comments

Comments
 (0)