Skip to content

Commit 3a6cd95

Browse files
committed
Add python dateutil types
1 parent 1b95733 commit 3a6cd95

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
hooks:
2323
- id: isort
2424
- repo: https://github.com/asottile/pyupgrade
25-
rev: v3.10.1
25+
rev: v3.13.0
2626
hooks:
2727
- id: pyupgrade
2828
args: [--py36-plus]

requirements/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
python-dateutil>=2.7.0
2+
types-python-dateutil>=2.8.10

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.6
2+
python_version = 3.11
33

44
show_error_codes = True
55
pretty = True

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
package_data={"arrow": ["py.typed"]},
2323
zip_safe=False,
2424
python_requires=">=3.8",
25-
install_requires=["python-dateutil>=2.7.0"],
25+
install_requires=[
26+
"python-dateutil>=2.7.0",
27+
"types-python-dateutil>=2.8.10",
28+
],
2629
classifiers=[
2730
"Development Status :: 5 - Production/Stable",
2831
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)