Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani committed Sep 30, 2024
1 parent 2cf52e3 commit 52c4f5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
8 changes: 1 addition & 7 deletions tests/test_source_azure_key_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
Test pydantic_settings.AzureKeyVaultSettingsSource.
"""

from __future__ import annotations

from typing import TYPE_CHECKING

import pytest
from pydantic import BaseModel, Field
from pytest_mock import MockerFixture

from pydantic_settings import (
AzureKeyVaultSettingsSource,
Expand All @@ -25,9 +22,6 @@
except ImportError:
azure_key_vault = False

if TYPE_CHECKING:
from pytest_mock import MockerFixture


MODULE = 'pydantic_settings.sources'

Expand Down
11 changes: 3 additions & 8 deletions tests/test_source_pyproject_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
Test pydantic_settings.PyprojectTomlConfigSettingsSource.
"""

from __future__ import annotations

import sys
from typing import TYPE_CHECKING, Optional, Tuple, Type
from pathlib import Path
from typing import Optional, Tuple, Type

import pytest
from pydantic import BaseModel
from pytest_mock import MockerFixture

from pydantic_settings import (
BaseSettings,
Expand All @@ -22,11 +22,6 @@
except ImportError:
tomli = None

if TYPE_CHECKING:
from pathlib import Path

from pytest_mock import MockerFixture


MODULE = 'pydantic_settings.sources'

Expand Down

0 comments on commit 52c4f5e

Please sign in to comment.