Skip to content

Releases: typeddjango/pytest-mypy-plugins

Version 4.0.3

14 May 07:44
7963f69

Choose a tag to compare

What's Changed

Full Changelog: 4.0.2...4.0.3

Version 4.0.2

17 Apr 06:29
a34907d

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.0.1...4.0.2

Version 4.0.1

14 Apr 14:41
81913a4

Choose a tag to compare

Bugfixes

  • Fixed sqlite3 mypy's cache contamination, #186

New Contributors

Full Changelog: 4.0.0...4.0.1

Version 4.0.0

12 Mar 16:10
f75019d

Choose a tag to compare

What's Changed

Bugfixes

  • Breaking: Errors are now ignored in site-packages by default. The --mypy-only-local-stub flag
    has been removed and replaced with --mypy-no-silence-site-packages which can be used to restore
    the previous behavior if needed. This change was made to avoid errors being raised when enabling
    certain mypy options, e.g. the explicit-override error code or the --disallow-subclassing-any
    flag, which resulted in violations due to these not being supported with the stubs provided by
    typeshed for the standard library. In addition, this affected other error codes or flags for some
    third-party libraries in django-stubs.
  • Breaking: When running in a subprocess (the default), PYTHONPATH is no longer set. With the
    above change, violations would still be raised in the main module for a test case, but those that
    were flagged in imported modules would no longer be raised. This was because these modules were
    being added to PYTHONPATH which caused mypy to treat them as belonging in site-packages and not
    as part of the first-party package. The new --mypy-modify-pythonpath flag can be used to revert
    to the previous behavior if needed.

New Contributors

Full Changelog: 3.3.0...4.0.0

Version 3.3.0

16 Feb 17:22
193a76f

Choose a tag to compare

What's Changed

Features

  • Drops python3.8 support
  • Adds official python3.13 support

Bugfixes

  • Fixes regex for colon output :, #155
  • Fixes internal error with TraceLastReprEntry, #154

New Contributors

Full Changelog: 3.2.0...3.3.0

Version 3.2.0

21 Dec 20:12
ccbfce7

Choose a tag to compare

Features

  • Drops python3.8 support
  • Adds official python3.13 support

Bugfixes

  • Fixes regex for colon output :, #155
  • Fixes internal error with TraceLastReprEntry, #154

Version 3.1.2

31 Mar 17:55
1f5c621

Choose a tag to compare

Bugfixes

  • Fix joining toml configs with [[mypy.overrides]]

Version 3.1.1

13 Mar 08:52
63ed231

Choose a tag to compare

Bugfixes

  • Make sure that schema is open by default: only check existing fields
  • Add --mypy-schema-closed option to check schemas with no extra fields

Version 3.1.0

29 Feb 13:48
2b79a71

Choose a tag to compare

Features

  • Add python3.12 support
  • Add mypy@1.8.0 support
  • Add schema definition

Version 3.0.0

25 Jul 12:46
5542939

Choose a tag to compare

Features

  • Breaking: Drop python3.7 support
  • Add pyproject.toml config file support with --mypy-pyproject-toml-file option

Bugfixes

  • Add tox.ini file to sdist package
  • Add requirements.txt file to sdist package
  • Add pyproject.toml file to sdist package