Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 8579bef commit 0172761
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 27 deletions.
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/accessors.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import numpy as np

import xarray as xr

from . import parameterized
from benchmarks import parameterized

NTIME = 365 * 30

Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/alignment.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import numpy as np

import xarray as xr

from . import parameterized, requires_dask
from benchmarks import parameterized, requires_dask

ntime = 365 * 30
nx = 50
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/combine.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import numpy as np

import xarray as xr

from . import requires_dask
from benchmarks import requires_dask


class Combine1d:
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/dataarray_missing.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import pandas as pd

import xarray as xr

from . import parameterized, randn, requires_dask
from benchmarks import parameterized, randn, requires_dask


def make_bench_data(shape, frac_nan, chunks):
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/dataset.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import numpy as np

from benchmarks import requires_dask
from xarray import Dataset

from . import requires_dask


class DatasetBinaryOp:
def setup(self):
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/dataset_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import pandas as pd

import xarray as xr

from . import _skip_slow, parameterized, randint, randn, requires_dask
from benchmarks import _skip_slow, parameterized, randint, randn, requires_dask

try:
import dask
Expand Down
2 changes: 1 addition & 1 deletion asv_bench/benchmarks/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import xarray as xr

from . import _skip_slow, parameterized, requires_dask
from benchmarks import _skip_slow, parameterized, requires_dask


class GroupBy:
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import pandas as pd

import xarray as xr

from . import parameterized, randint, randn, requires_dask
from benchmarks import parameterized, randint, randn, requires_dask

nx = 2000
ny = 1000
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/interp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import pandas as pd

import xarray as xr

from . import parameterized, randn, requires_dask
from benchmarks import parameterized, randn, requires_dask

nx = 1500
ny = 1000
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import pandas as pd

import xarray as xr

from . import parameterized, requires_dask
from benchmarks import parameterized, requires_dask


class MultiIndexSeries:
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/polyfit.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import numpy as np

import xarray as xr

from . import parameterized, randn, requires_dask
from benchmarks import parameterized, randn, requires_dask

NDEGS = (2, 5, 20)
NX = (10**2, 10**6)
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/reindexing.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import numpy as np

import xarray as xr

from . import requires_dask
from benchmarks import requires_dask

ntime = 500
nx = 50
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import pandas as pd

import xarray as xr

from . import parameterized, randn, requires_dask
from benchmarks import parameterized, randn, requires_dask

nx = 3000
long_nx = 30000
Expand Down
3 changes: 1 addition & 2 deletions asv_bench/benchmarks/unstacking.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import pandas as pd

import xarray as xr

from . import requires_dask, requires_sparse
from benchmarks import requires_dask, requires_sparse


class Unstacking:
Expand Down

0 comments on commit 0172761

Please sign in to comment.