You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing my library in a Python 3.12 virtual environment, but I would like to target Python 3.11 as a minimum, so had python the following in my pytype.toml:
python_version = '3.11'
However, my project relies on django-stubs to be installed in order to be able to be successfully type checked.
When I have python_version set to 3.12, I do not get type checking errors for django.
However, when I have python_version set to 3.11 I get errors such as the following, suggesting that django-stubs is not being used:
I'm developing my library in a Python 3.12 virtual environment, but I would like to target Python 3.11 as a minimum, so had python the following in my
pytype.toml
:However, my project relies on
django-stubs
to be installed in order to be able to be successfully type checked.When I have
python_version
set to 3.12, I do not get type checking errors for django.However, when I have
python_version
set to 3.11 I get errors such as the following, suggesting thatdjango-stubs
is not being used:How can I have pytype check for 3.11 when it requires dependencies such as these?
The text was updated successfully, but these errors were encountered: