Skip to content

Commit

Permalink
update baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Dec 17, 2024
1 parent fd7574c commit 264ecb7
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions api/scripts/mypy_baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3778,3 +3778,48 @@ integrations/webhook/serializers.py:32: error: Argument 1 to "map_identity_to_en
features/custom_lifecycle.py:3: error: Skipping analyzing "django_lifecycle": module is installed, but missing library stubs or py.typed marker [import-untyped]
organisations/chargebee/chargebee.py:6: error: Skipping analyzing "chargebee": module is installed, but missing library stubs or py.typed marker [import-untyped]
features/versioning/serializers.py:138: error: Incompatible types in assignment (expression has type tuple[str, str, ... <11 more items>], base class "Meta" defined the type as tuple[str, str, str, str, str, str, str, str, str]) [assignment]
../api/app/settings/common.py:22: error: Library stubs not installed for "pytz" [import-untyped]
../api/app/settings/common.py:1253: error: Module has no attribute "util" [attr-defined]
features/workflows/core/models.py:215: error: Item "None" of "Segment | None" has no attribute "save" [union-attr]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "Literal['INDEXES', 'NONE', 'TOTAL']" [arg-type]
environments/dynamodb/wrappers/base.py:45: error: Item "None" of "Table | None" has no attribute "query" [union-attr]
../api/app/settings/common.py:1156: error: Module has no attribute "util" [attr-defined]
features/workflows/core/models.py:147: error: Argument "feature_segment_id" to "get_next_version_number" of "FeatureState" has incompatible type "int | None"; expected "int" [arg-type]
features/workflows/core/models.py:218: error: Item "None" of "Segment | None" has no attribute "rules" [union-attr]
features/workflows/core/models.py:208: error: Item "None" of "Segment | None" has no attribute "deep_clone" [union-attr]
features/workflows/core/models.py:145: error: Argument "environment_id" to "get_next_version_number" of "FeatureState" has incompatible type "int | None"; expected "int" [arg-type]
features/workflows/core/models.py:356: error: Need type annotation for "created_at" [var-annotated]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "Literal['ALL_ATTRIBUTES', 'ALL_PROJECTED_ATTRIBUTES', 'COUNT', 'SPECIFIC_ATTRIBUTES']" [arg-type]
features/workflows/core/models.py:228: error: Missing return statement [return]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "int" [arg-type]
../api/app/settings/common.py:934: error: Module has no attribute "util" [attr-defined]
features/workflows/core/models.py:353: error: Need type annotation for "change_request" [var-annotated]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "str" [arg-type]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "Sequence[str]" [arg-type]
features/workflows/core/models.py:236: error: Missing return statement [return]
../api/app/settings/common.py:955: error: Module has no attribute "util" [attr-defined]
environments/dynamodb/wrappers/base.py:47: error: Item "None" of "Table | None" has no attribute "scan" [union-attr]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "str | ConditionBase" [arg-type]
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "bool" [arg-type]
../api/app/settings/common.py:950: error: Module has no attribute "util" [attr-defined]
../api/app/settings/common.py:1303: error: Module has no attribute "util" [attr-defined]
features/workflows/core/models.py:357: error: Need type annotation for "approved_at" [var-annotated]
../api/app/settings/common.py:22: note: Hint: "python3 -m pip install types-pytz"
features/workflows/core/models.py:214: error: Item "None" of "Segment | None" has no attribute "feature" [union-attr]
organisations/chargebee/chargebee.py:9: error: Library stubs not installed for "pytz" [import-untyped]
Found 538 errors in 97 files (checked 1 source file)
features/workflows/core/models.py:212: error: Item "None" of "Segment | None" has no attribute "name" [union-attr]
features/workflows/core/models.py:352: error: Need type annotation for "user" [var-annotated]
../api/app/settings/common.py:964: error: Module has no attribute "util" [attr-defined]
features/workflows/core/models.py:346: error: Unsupported dynamic base class "abstract_base_auditable_model_factory" [misc]
features/workflows/core/models.py:213: error: Item "None" of "Segment | None" has no attribute "description" [union-attr]
environments/dynamodb/wrappers/base.py:19: error: Incompatible types in assignment (expression has type "None", variable has type "str") [assignment]
features/workflows/core/models.py:148: error: Argument "identity_id" to "get_next_version_number" of "FeatureState" has incompatible type "int | None"; expected "int" [arg-type]
../api/app/settings/common.py:22: note: (or run "mypy --install-types" to install all missing stub packages)
../api/app/settings/common.py:24: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
environments/dynamodb/wrappers/base.py:45: error: Argument 1 to "query" of "Table" has incompatible type "**dict[str, dict[Any, Any]]"; expected "Literal['AND', 'OR']" [arg-type]
features/workflows/core/models.py:411: error: Missing return statement [return]
features/workflows/core/models.py:315: error: Item "None" of "Environment | None" has no attribute "deleted_at" [union-attr]
environments/dynamodb/wrappers/base.py:33: error: Missing return statement [return]
features/workflows/core/models.py:220: error: Argument 1 to "deep_clone" of "SegmentRule" has incompatible type "Segment | None"; expected "Segment" [arg-type]
../api/app/settings/common.py:959: error: Module has no attribute "util" [attr-defined]

0 comments on commit 264ecb7

Please sign in to comment.