Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored Oct 11, 2022
1 parent cdd770d commit 8a0fa62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.0.0
hooks:
- id: pyupgrade
args:
- '--py37-plus'

- repo: https://github.com/psf/black
rev: 22.8.0
rev: 22.10.0
hooks:
- id: black-jupyter

- repo: https://github.com/keewis/blackdoc
rev: v0.3.6
rev: v0.3.7
hooks:
- id: blackdoc

Expand All @@ -39,6 +39,6 @@ repos:
- id: isort

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.0
rev: v3.0.0-alpha.1
hooks:
- id: prettier
4 changes: 2 additions & 2 deletions tests/test_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def THREDDSMergedSource_cat_short_simplecache(
def test_THREDDSMergedSource(THREDDSMergedSource_cat):
cat = THREDDSMergedSource_cat
ds = cat.to_dask()
assert dict(ds.dims) == {'lat': 73, 'lon': 144, 'time': 731}
assert dict(ds.dims) == {'lat': 73, 'lon': 144, 'nbnds': 2, 'time': 731}
d = cat.discover()
assert set(d['metadata']['coords']) == {'lat', 'lon', 'time'}
assert set(d['metadata']['data_vars'].keys()) == {'air'}
assert set(d['metadata']['data_vars'].keys()) == {'air', 'time_bnds'}


def test_THREDDSMergedSource_long_short(THREDDSMergedSource_cat, THREDDSMergedSource_cat_short):
Expand Down

0 comments on commit 8a0fa62

Please # to comment.