Skip to content

Commit

Permalink
Merge pull request #394 from pymc-labs/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
drbenvincent authored Jul 30, 2024
2 parents 53307ab + be82dd3 commit 77058ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
exclude: &exclude_pattern 'iv_weak_instruments.ipynb'
args: ["--maxkb=1500"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.4
rev: v0.5.5
hooks:
# Run the linter
- id: ruff
Expand Down
4 changes: 2 additions & 2 deletions causalpy/tests/test_synthetic_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_generate_multicell_geolift_data():
from causalpy.data.simulate_data import generate_multicell_geolift_data

df = generate_multicell_geolift_data()
assert type(df) == pd.DataFrame
assert isinstance(df, pd.DataFrame)
assert np.all(df >= 0), "Found negative values in dataset"


Expand All @@ -37,5 +37,5 @@ def test_generate_geolift_data():
from causalpy.data.simulate_data import generate_geolift_data

df = generate_geolift_data()
assert type(df) == pd.DataFrame
assert isinstance(df, pd.DataFrame)
assert np.all(df >= 0), "Found negative values in dataset"

0 comments on commit 77058ee

Please sign in to comment.