Skip to content

Commit 9acdbd5

Browse files
fix: fix indentation syntax error and missing newline in test file (ruff)
1 parent cb781c6 commit 9acdbd5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_converter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,9 +471,9 @@ def test_version_in_init_matches_pyproject(self):
471471
from pathlib import Path
472472

473473
try:
474-
import tomllib
475-
except ImportError:
476-
import tomli as tomllib # Python < 3.11 backport
474+
import tomllib
475+
except ImportError:
476+
import tomli as tomllib # Python < 3.11 backport
477477

478478
from json2sql import __version__
479479
pyproject = Path(__file__).resolve().parent.parent / "pyproject.toml"
@@ -482,4 +482,4 @@ def test_version_in_init_matches_pyproject(self):
482482
assert data["project"]["version"] == __version__, (
483483
f"pyproject.toml version ({data['project']['version']}) != "
484484
f"__init__.__version__ ({__version__})"
485-
)
485+
)

0 commit comments

Comments
 (0)