Skip to content

Refactor: Unify plugin check for model type info#2263

Merged
sobolevn merged 1 commit intotypeddjango:masterfrom
flaeppe:fix/unify-is-model-chk
Jul 17, 2024
Merged

Refactor: Unify plugin check for model type info#2263
sobolevn merged 1 commit intotypeddjango:masterfrom
flaeppe:fix/unify-is-model-chk

Conversation

@flaeppe
Copy link
Copy Markdown
Member

@flaeppe flaeppe commented Jul 16, 2024

Replace is_model_subclass_info with is_model_type helper. Some continued work of #1853

Related issues

Replace `is_model_subclass_info` with `is_model_type` helper
@flaeppe flaeppe added the mypy-plugin Issues specific to mypy_django_plugin label Jul 16, 2024
@sobolevn sobolevn merged commit ac36393 into typeddjango:master Jul 17, 2024
@flaeppe flaeppe deleted the fix/unify-is-model-chk branch July 28, 2024 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mypy-plugin Issues specific to mypy_django_plugin

Development

Successfully merging this pull request may close these issues.

var-annotated error with imported BaseModel, related to namespace module

2 participants