We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 840822f commit 9ca39b4Copy full SHA for 9ca39b4
.github/workflows/pre-commit-autoupdate.yml
@@ -35,6 +35,7 @@ jobs:
35
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36
EXECUTE_COMMANDS: |
37
python -m pre_commit autoupdate
38
+ python -m pre_commit run --all-files
39
COMMIT_MESSAGE: 'pre-commit: autoupdate hook versions'
40
COMMIT_NAME: 'github-actions[bot]'
41
COMMIT_EMAIL: 'github-actions[bot]@users.noreply.github.com'
pint_xarray/conversion.py
@@ -86,7 +86,7 @@ def array_extract_units(data):
86
87
88
def array_strip_units(data):
89
- """ strip the units of a quantity """
+ """strip the units of a quantity"""
90
try:
91
return data.magnitude
92
except AttributeError:
0 commit comments