Skip to content

Commit

Permalink
Add python dateutil types
Browse files Browse the repository at this point in the history
  • Loading branch information
jadchaar committed Sep 30, 2023
1 parent 1b95733 commit 3a6cd95
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -22,7 +22,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.13.0
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements.txt
@@ -1 +1,2 @@
python-dateutil>=2.7.0
types-python-dateutil>=2.8.10
2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.6
python_version = 3.11

show_error_codes = True
pretty = True
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Expand Up @@ -22,7 +22,10 @@
package_data={"arrow": ["py.typed"]},
zip_safe=False,
python_requires=">=3.8",
install_requires=["python-dateutil>=2.7.0"],
install_requires=[
"python-dateutil>=2.7.0",
"types-python-dateutil>=2.8.10",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down

0 comments on commit 3a6cd95

Please sign in to comment.