Skip to content

Commit 88f2067

Browse files
committed
Replace existing noqa with ruff syntax
1 parent cbf3d01 commit 88f2067

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

causalpy/pymc_experiments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
1212
"""
1313

14-
import warnings
14+
import warnings # noqa: I001
1515
from typing import Union
1616

1717
import arviz as az
@@ -23,7 +23,7 @@
2323
from patsy import build_design_matrices, dmatrices
2424
from sklearn.linear_model import LinearRegression as sk_lin_reg
2525

26-
from causalpy.custom_exceptions import BadIndexException # NOQA
26+
from causalpy.custom_exceptions import BadIndexException
2727
from causalpy.custom_exceptions import DataException, FormulaException
2828
from causalpy.plot_utils import plot_xY
2929
from causalpy.utils import _is_variable_dummy_coded

causalpy/tests/test_input_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""Input validation tests"""
22

3-
import numpy as np
3+
import numpy as np # noqa: I001
44
import pandas as pd
55
import pytest
66

77
import causalpy as cp
8-
from causalpy.custom_exceptions import BadIndexException # NOQA
8+
from causalpy.custom_exceptions import BadIndexException
99
from causalpy.custom_exceptions import DataException, FormulaException
1010

1111
sample_kwargs = {"tune": 20, "draws": 20, "chains": 2, "cores": 2}

0 commit comments

Comments
 (0)