Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
maxb2 committed May 1, 2023
1 parent 15f53a5 commit 8bfeb82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions tests/test_example.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
from typer.testing import CliRunner

from pathlib import Path

import pytest
import typer
from typer.testing import CliRunner

import typer_config

import pytest

RUNNER = CliRunner()

HERE = Path(__file__).parent.absolute()
Expand Down
3 changes: 1 addition & 2 deletions typer_config/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
These loaders must follow the signature: Callable[[Any], Dict[str, Any]]
"""

import json
from typing import Any, Dict

USING_TOMLLIB = False
Expand All @@ -25,8 +26,6 @@
except ImportError:
yaml = None

import json


# pylint: disable-next=unused-argument
def dummy_loader(path: str) -> Dict[str, Any]:
Expand Down

0 comments on commit 8bfeb82

Please sign in to comment.