Skip to content
forked from pydata/xarray

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (pydata#6050)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 21.11b1 → 21.12b0](psf/black@21.11b1...21.12b0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 6, 2021
1 parent cdfcf37 commit f76ea09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
- id: isort
# https://github.com/python/black#version-control-integration
- repo: https://github.com/psf/black
rev: 21.11b1
rev: 21.12b0
hooks:
- id: black
- id: black-jupyter
Expand Down
1 change: 0 additions & 1 deletion xarray/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ def is_scalar(value: Any, include_0d: bool = True) -> bool:
"""
return _is_scalar(value, include_0d)


else:

def is_scalar(value: Any, include_0d: bool = True) -> TypeGuard[Hashable]:
Expand Down

0 comments on commit f76ea09

Please sign in to comment.