Skip to content

Commit 006df93

Browse files
committed
fix(package): added missing package mypy
1 parent 33b9d00 commit 006df93

File tree

4 files changed

+38
-3
lines changed

4 files changed

+38
-3
lines changed

examples/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
# Create configuration with pydantic BaseSettings https://pydantic-docs.helpmanual.io/usage/settings/.
77
class Config(BaseSettings):
8-
notion_secret_token: str = "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"
9-
database_id: str = "1258766a22dc80ea97bece3ce3a95e13"
8+
notion_secret_token: str = ""
9+
database_id: str = ""
1010
page_id: str = ""
1111

1212
model_config = SettingsConfigDict(

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ dev-dependencies = [
2222
"pytest-richer>=0.1.1",
2323
"ruff>=0.7.0",
2424
"pyright>=1.1.385",
25+
"mypy>=1.12.1",
2526
]
2627
package = true
2728

src/py_notion/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import Any
22

3-
import requests
3+
import requests # type: ignore
44
from loguru import logger
55
from requests import ConnectTimeout, ReadTimeout, Response, Timeout
66

uv.lock

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)