Skip to content

Commit c4b3b0c

Browse files
committed
pre-commit updates
1 parent 954b12e commit c4b3b0c

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

causalpy/data/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Code for loading datasets."""
2+
23
from .datasets import load_data
34

45
__all__ = ["load_data"]

causalpy/data/datasets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Functions to load example datasets
33
"""
4+
45
import pathlib
56

67
import pandas as pd

causalpy/data/simulate_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Functions that generate data sets used in examples
33
"""
4+
45
import numpy as np
56
import pandas as pd
67
from scipy.stats import dirichlet, gamma, norm, uniform

causalpy/skl_experiments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- DifferenceInDifferences
99
- RegressionDiscontinuity
1010
"""
11+
1112
import warnings
1213
from typing import Optional
1314

causalpy/skl_models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Weighted Proportion
55
66
"""
7+
78
from functools import partial
89

910
import numpy as np

causalpy/tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Functions:
55
* rng: random number generator with session level scope
66
"""
7+
78
import numpy as np
89
import pytest
910

causalpy/tests/test_data_loading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Tests that example data can be loaded into data frames.
33
"""
4+
45
import pandas as pd
56
import pytest
67

causalpy/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Utility functions
33
"""
4+
45
import numpy as np
56
import pandas as pd
67

0 commit comments

Comments
 (0)