fix: resolve CI linting and type checking issues
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
import tempfile
|
import tempfile
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
|
||||||
from click.testing import CliRunner
|
from click.testing import CliRunner
|
||||||
|
|
||||||
from config_converter.cli import main
|
from config_converter.cli import main
|
||||||
@@ -144,9 +143,6 @@ class TestCLI:
|
|||||||
|
|
||||||
def test_batch_command(self) -> None:
|
def test_batch_command(self) -> None:
|
||||||
"""Test batch conversion command."""
|
"""Test batch conversion command."""
|
||||||
import os
|
|
||||||
import tempfile
|
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
for i in range(3):
|
for i in range(3):
|
||||||
json_file = Path(tmpdir) / f"config{i}.json"
|
json_file = Path(tmpdir) / f"config{i}.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user