diff --git a/mypy-baseline.txt b/mypy-baseline.txt index c68611a94a71a..179789b0b0eb4 100644 --- a/mypy-baseline.txt +++ b/mypy-baseline.txt @@ -98,10 +98,6 @@ posthog/models/plugin.py:0: error: Name "timezone.datetime" is not defined [nam posthog/models/plugin.py:0: error: Name "timezone.datetime" is not defined [name-defined] posthog/models/person/person.py:0: error: "_T" has no attribute "_add_distinct_ids" [attr-defined] posthog/models/person/person.py:0: error: Incompatible types in assignment (expression has type "list[Never]", variable has type "_QuerySet[PersonDistinctId, str]") [assignment] -posthog/warehouse/models/external_data_schema.py:0: error: Library stubs not installed for "pymysql" [import-untyped] -posthog/warehouse/models/external_data_schema.py:0: note: Hint: "python3 -m pip install types-PyMySQL" -posthog/warehouse/models/external_data_schema.py:0: note: (or run "mypy --install-types" to install all missing stub packages) -posthog/warehouse/models/external_data_schema.py:0: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports posthog/hogql/database/database.py:0: error: "FieldOrTable" has no attribute "fields" [attr-defined] posthog/warehouse/models/datawarehouse_saved_query.py:0: error: Argument 1 to "create_hogql_database" has incompatible type "int | None"; expected "int" [arg-type] posthog/warehouse/models/datawarehouse_saved_query.py:0: error: Incompatible types in assignment (expression has type "Expr", variable has type "SelectQuery | SelectUnionQuery") [assignment] diff --git a/requirements-dev.in b/requirements-dev.in index 9ab0252aecf67..5ca5431dbaf1c 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -26,6 +26,7 @@ packaging==23.1 black~=23.9.1 boto3-stubs[s3] types-markdown==3.3.9 +types-PyMySQL==1.1.0.20240524 types-PyYAML==6.0.1 types-freezegun==1.1.10 types-paramiko==3.4.0.20240423 diff --git a/requirements-dev.txt b/requirements-dev.txt index a528eb65d50a7..938eaead5395c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -37,7 +37,7 @@ black==23.9.1 # -r requirements-dev.in # datamodel-code-generator # inline-snapshot -boto3-stubs[s3]==1.34.84 +boto3-stubs==1.34.84 # via -r requirements-dev.in botocore-stubs==1.34.84 # via boto3-stubs @@ -62,7 +62,7 @@ click==8.1.7 # inline-snapshot colorama==0.4.4 # via pytest-watch -coverage[toml]==5.5 +coverage==5.5 # via pytest-cov cryptography==39.0.2 # via @@ -98,6 +98,7 @@ executing==2.0.1 faker==17.5.0 # via -r requirements-dev.in fakeredis==2.23.3 + # via -r requirements-dev.in flaky==3.7.0 # via -r requirements-dev.in freezegun==1.2.2 @@ -197,7 +198,7 @@ pycparser==2.20 # via # -c requirements.txt # cffi -pydantic[email]==2.5.3 +pydantic==2.5.3 # via # -c requirements.txt # datamodel-code-generator @@ -313,6 +314,8 @@ types-markdown==3.3.9 # via -r requirements-dev.in types-paramiko==3.4.0.20240423 # via -r requirements-dev.in +types-pymysql==1.1.0.20240524 + # via -r requirements-dev.in types-python-dateutil==2.8.3 # via -r requirements-dev.in types-pytz==2023.3.0.0