Skip to content

Commit 12addcf

Browse files
committed
style: apply black 26.1.0 formatting
- Upgrade black from >=25.1.0 to >=26.1.0 in pyproject.toml - Apply black 26.1.0 formatting to 13 files - Fixes CI lint errors
1 parent 4d6d094 commit 12addcf

14 files changed

Lines changed: 1 addition & 14 deletions

File tree

causalml/dataset/synthetic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from causalml.propensity import ElasticNetPropensityModel
2020
from causalml.metrics import plot_gain, get_cumgain
2121

22-
2322
plt.style.use("fivethirtyeight")
2423
warnings.filterwarnings("ignore")
2524

causalml/features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from scipy import sparse
55
from sklearn import base
66

7-
87
logger = logging.getLogger("causalml")
98

109

causalml/inference/meta/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from causalml.inference.meta.utils import check_p_conditions, convert_pd_to_np
88
from causalml.propensity import compute_propensity_score
99

10-
1110
logger = logging.getLogger("causalml")
1211

1312

causalml/inference/meta/drlearner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from causalml.metrics import regression_metrics, classification_metrics
1717
from causalml.propensity import compute_propensity_score
1818

19-
2019
logger = logging.getLogger("causalml")
2120

2221

causalml/inference/meta/rlearner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
)
1616
from causalml.propensity import ElasticNetPropensityModel
1717

18-
1918
logger = logging.getLogger("causalml")
2019

2120

causalml/inference/meta/slearner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from causalml.inference.meta.utils import check_treatment_vector, convert_pd_to_np
1111
from causalml.metrics import regression_metrics, classification_metrics
1212

13-
1413
logger = logging.getLogger("causalml")
1514

1615

causalml/inference/meta/tlearner.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from causalml.inference.meta.utils import check_treatment_vector, convert_pd_to_np
1919
from causalml.metrics import regression_metrics, classification_metrics
2020

21-
2221
logger = logging.getLogger("causalml")
2322

2423

causalml/inference/meta/tmle.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
convert_pd_to_np,
1313
)
1414

15-
1615
logger = logging.getLogger("causalml")
1716

1817

causalml/metrics/classification.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from .const import EPS
55
from .regression import regression_metrics
66

7-
87
logger = logging.getLogger("causalml")
98

109

causalml/metrics/regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from .const import EPS
88

9-
109
logger = logging.getLogger("causalml")
1110

1211

0 commit comments

Comments
 (0)