Skip to content

Commit

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

updates:
- [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0)

* fix bug in verify error reporting

* fix bug in search kwarg

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Brett <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and braingram authored Jul 11, 2023
1 parent 9336542 commit dc96c2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: isort

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black-jupyter

Expand Down
2 changes: 1 addition & 1 deletion 00_install/verify_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def check_package(
errors.append(package_name)
if any(errors):
print(
f"You must resolve {sum(errors)} errors (above) "
f"You must resolve {len(errors)} errors (above) "
f"before running the tutorials."
)
exit(1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"source": [
"from astropy import units as u\n",
"\n",
"af.search(type=u.Quantity)"
"af.search(type_=u.Quantity)"
]
},
{
Expand Down

0 comments on commit dc96c2c

Please sign in to comment.