Skip to content

Commit 42361f2

Browse files
committed
pylint
1 parent 4704d19 commit 42361f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

causal_testing/estimation/ipcw_estimator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class IPCWEstimator(Estimator):
2222
"""
2323

2424
# pylint: disable=too-many-arguments
25+
# pylint: disable=too-many-local-variables
2526
# pylint: disable=too-many-instance-attributes
2627
def __init__(
2728
self,
@@ -339,7 +340,7 @@ def estimate_hazard_ratio(self):
339340
axis=1,
340341
).min(axis=1)
341342

342-
assert (preprocessed_data["tin"] <= preprocessed_data["tout"]).all(), f"Individuals left before joining."
343+
assert (preprocessed_data["tin"] <= preprocessed_data["tout"]).all(), "Individuals left before joining."
343344

344345
preprocessed_data.to_csv("/home/michael/tmp/preprocessed_data.csv")
345346

0 commit comments

Comments
 (0)