Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#26)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 →
v0.5.6](astral-sh/ruff-pre-commit@v0.4.7...v0.5.6)
- [github.com/psf/black: 24.4.2 →
24.8.0](psf/black@24.4.2...24.8.0)
<!--pre-commit.ci end-->
  • Loading branch information
ketozhang authored Aug 26, 2024
2 parents f79c81c + a19ea02 commit d465529
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: 'v0.4.7'
rev: 'v0.5.6'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/psf/black
rev: '24.4.2'
rev: '24.8.0'
hooks:
- id: black

Expand Down
4 changes: 2 additions & 2 deletions tests/patterns/astropy_types_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TestExtension(Extension):


def test_convert_DataPoint_to_asdf(tmp_path):
af = asdf.AsdfFile(
asdf.AsdfFile(
{
"positions": [
DataPoint(
Expand All @@ -57,7 +57,7 @@ def test_convert_DataPoint_to_asdf(tmp_path):


def test_convert_DataContainer_to_asdf(tmp_path):
af = asdf.AsdfFile(
asdf.AsdfFile(
{
"container": DataContainer(
positions=[
Expand Down

0 comments on commit d465529

Please sign in to comment.