Upgrade mypy support to 0.960 (#973)

- Updates test_model_field_classes_from_existing_locations to account
  for the behaviour change in https://github.com/python/mypy/pull/12663
- Bumps the version of django-stubs for a new release
This commit is contained in:
Damian Zaremba
2022-05-25 23:20:44 +01:00
committed by GitHub
parent 4a90ad9edc
commit 2351051ef1
3 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@
booking = Booking()
reveal_type(booking.id) # N: Revealed type is "builtins.int"
reveal_type(booking.time_range) # N: Revealed type is "Any"
reveal_type(booking.some_decimal) # N: Revealed type is "decimal.Decimal"
reveal_type(booking.some_decimal) # N: Revealed type is "_decimal.Decimal"
installed_apps:
- myapp
files: