Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 27, 2022
1 parent 00d1d3c commit 2a819ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pytest_asdf/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
import os
import pathlib
import warnings
from dataclasses import dataclass

import numpy as np
import pytest
import yaml

from dataclasses import dataclass

# Avoid all imports of asdf at this level in order to avoid circular imports


Expand Down Expand Up @@ -188,7 +187,7 @@ def version(self):

if self._version is None:
return versioning.default_version

version = self._version.lower().split("asdf-standard-")[1]
return versioning.AsdfVersion(version)

Expand Down

0 comments on commit 2a819ff

Please sign in to comment.