Skip to content

Commit 9ca39b4

Browse files
authored
run pre-commit after autoupdating (#99)
* run pre-commit after autoupdating * black
1 parent 840822f commit 9ca39b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
EXECUTE_COMMANDS: |
3737
python -m pre_commit autoupdate
38+
python -m pre_commit run --all-files
3839
COMMIT_MESSAGE: 'pre-commit: autoupdate hook versions'
3940
COMMIT_NAME: 'github-actions[bot]'
4041
COMMIT_EMAIL: 'github-actions[bot]@users.noreply.github.com'

pint_xarray/conversion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def array_extract_units(data):
8686

8787

8888
def array_strip_units(data):
89-
""" strip the units of a quantity """
89+
"""strip the units of a quantity"""
9090
try:
9191
return data.magnitude
9292
except AttributeError:

0 commit comments

Comments
 (0)