Skip to content

Commit 53244e1

Browse files
committed
chore: another try
Signed-off-by: Tudor Plugaru <[email protected]>
1 parent 495d903 commit 53244e1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
- id: mypy
1919
files: ^(src/cloudevents/|tests/)
2020
exclude: ^(src/cloudevents/v1/)
21-
types: [ python ]
22-
args: [
23-
"--config-file=pyproject.toml",
24-
]
21+
types: [python]
22+
args: ["--config-file=pyproject.toml"]
23+
additional_dependencies:
24+
- types-python-dateutil>=2.9.0.20241003

src/cloudevents/core/bindings/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from typing import Any, Callable, Dict, Optional, Union
1818
from urllib.parse import quote, unquote
1919

20-
from dateutil.parser import isoparse # type: ignore[import-untyped]
20+
from dateutil.parser import isoparse
2121

2222
from cloudevents.core.base import BaseCloudEvent
2323
from cloudevents.core.formats.base import Format

src/cloudevents/core/formats/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from json import JSONEncoder, dumps, loads
2020
from typing import Any, Callable, Dict, Final, Optional, Pattern, Union
2121

22-
from dateutil.parser import isoparse # type: ignore[import-untyped]
22+
from dateutil.parser import isoparse
2323

2424
from cloudevents.core.base import BaseCloudEvent
2525
from cloudevents.core.formats.base import Format

0 commit comments

Comments
 (0)