File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import pathlib
2- from pydantic import BaseSettings
2+ from pydantic_settings import BaseSettings
33
44
55class Settings (BaseSettings ):
6- name = "dummy"
7- git_dir = pathlib .Path ().cwd ()
8- commits = 5
9- branches = 1
10- diverge_at = 0
11- merge = ""
12- no_subdir = False
13- constant_sha = False
6+ name : str = "dummy"
7+ git_dir : pathlib . Path = pathlib .Path ().cwd ()
8+ commits : int = 5
9+ branches : int = 1
10+ diverge_at : int = 0
11+ merge : str = ""
12+ no_subdir : bool = False
13+ constant_sha : bool = False
1414
1515 class Config :
1616 env_prefix = "git_dummy_"
Original file line number Diff line number Diff line change 2222 install_requires = [
2323 "gitpython" ,
2424 "typer" ,
25- "pydantic " ,
25+ "pydantic_settings " ,
2626 ],
2727 keywords = "git dummy generate populate repo repository" ,
2828 project_urls = {
You can’t perform that action at this time.
0 commit comments