Skip to content

Commit eeb37f7

Browse files
committed
add missing type stubs to satisfy mypy
Signed-off-by: Grant Ramsay <[email protected]>
1 parent cd33a93 commit eeb37f7

File tree

5 files changed

+34
-1
lines changed

5 files changed

+34
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ repos:
3636
additional_dependencies:
3737
- "types-python-dateutil"
3838
- "types-redis"
39+
- "types-tzlocal"
3940

4041
- repo: https://github.com/python-poetry/poetry
4142
rev: "1.8.0"

poetry.lock

Lines changed: 26 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ pygments = "^2.17.2"
7979
# needed for mupy typing
8080
types-python-dateutil = "^2.9.0.20240316"
8181
types-redis = "^4.6.0.20240425"
82+
types-tzlocal = "^5.1.0.1"
8283

8384

8485
[build-system]

requirements-dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,12 @@ toolz==0.12.1 ; python_version >= "3.9" and python_version < "4.0"
114114
typer==0.12.3 ; python_version >= "3.9" and python_version < "4.0"
115115
types-pyopenssl==24.0.0.20240311 ; python_version >= "3.9" and python_version < "4.0"
116116
types-python-dateutil==2.9.0.20240316 ; python_version >= "3.9" and python_version < "4.0"
117+
types-pytz==2024.1.0.20240417 ; python_version >= "3.9" and python_version < "4.0"
117118
types-redis==4.6.0.20240425 ; python_version >= "3.9" and python_version < "4.0"
119+
types-tzlocal==5.1.0.1 ; python_version >= "3.9" and python_version < "4.0"
118120
typing-extensions==4.10.0 ; python_version >= "3.9" and python_version < "4.0"
121+
tzdata==2024.1 ; python_version >= "3.9" and python_version < "4.0" and platform_system == "Windows"
122+
tzlocal==5.2 ; python_version >= "3.9" and python_version < "4.0"
119123
ujson==5.9.0 ; python_version >= "3.9" and python_version < "4.0"
120124
urllib3==2.2.2 ; python_version >= "3.9" and python_version < "4.0"
121125
uvicorn[standard]==0.28.0 ; python_version >= "3.9" and python_version < "4.0"

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ sniffio==1.3.1 ; python_version >= "3.9" and python_version < "4.0"
3535
starlette==0.37.2 ; python_version >= "3.9" and python_version < "4.0"
3636
typer==0.12.3 ; python_version >= "3.9" and python_version < "4.0"
3737
typing-extensions==4.10.0 ; python_version >= "3.9" and python_version < "4.0"
38+
tzdata==2024.1 ; python_version >= "3.9" and python_version < "4.0" and platform_system == "Windows"
39+
tzlocal==5.2 ; python_version >= "3.9" and python_version < "4.0"
3840
ujson==5.9.0 ; python_version >= "3.9" and python_version < "4.0"
3941
uvicorn[standard]==0.28.0 ; python_version >= "3.9" and python_version < "4.0"
4042
uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.9" and python_version < "4.0"

0 commit comments

Comments
 (0)