Skip to content

Commit 2f57b1d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c05768c commit 2f57b1d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test-data/unit/stubgen.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4742,7 +4742,7 @@ import pydantic
47424742
class ConfigSettings(pydantic.BaseModel):
47434743
# Fields without initialization
47444744
db_name: str
4745-
port: int
4745+
port: int
47464746
debug: bool
47474747
[out]
47484748
import pydantic
@@ -4758,7 +4758,7 @@ from pydantic import BaseModel
47584758
class Address(BaseModel):
47594759
street: str
47604760
city: str
4761-
4761+
47624762
class User(BaseModel):
47634763
name: str
47644764
age: int
@@ -4820,10 +4820,10 @@ from pydantic import BaseModel
48204820
class User(BaseModel):
48214821
id: int
48224822
name: str
4823-
4823+
48244824
def get_display_name(self) -> str:
48254825
return f"User {self.name}"
4826-
4826+
48274827
@property
48284828
def display_id(self) -> str:
48294829
return f"ID: {self.id}"

0 commit comments

Comments
 (0)