Skip to content

Commit 4d13cd7

Browse files
committed
lint tests
1 parent 577ca8e commit 4d13cd7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/test_multi_source.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
from typing import Tuple, Type, Union
66

7-
from pydantic import BaseModel, ValidationError
87
import pytest
8+
from pydantic import BaseModel, ValidationError
99

1010
from pydantic_settings import (
1111
BaseSettings,
@@ -14,6 +14,7 @@
1414
SettingsConfigDict,
1515
)
1616

17+
1718
def test_line_errors_from_source(monkeypatch, tmp_path):
1819
monkeypatch.setenv('SETTINGS_NESTED__NESTED_FIELD', 'a')
1920
p = tmp_path / 'settings.json'

tests/test_settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
NoDecode,
4545
PydanticBaseSettingsSource,
4646
SecretsSettingsSource,
47-
SettingsConfigDict
47+
SettingsConfigDict,
4848
)
4949
from pydantic_settings.sources import DefaultSettingsSource, SettingsError
5050

0 commit comments

Comments
 (0)