Releases: typeddjango/pytest-mypy-plugins
Releases · typeddjango/pytest-mypy-plugins
Version 4.0.3
What's Changed
- Support
mypy@2.0andmypy@2.1by @UnknownPlatypus in #193
Full Changelog: 4.0.2...4.0.3
Version 4.0.2
What's Changed
- Fix AttributeError on store.close() with mypy < 1.20 by @thodson-usgs in #188
New Contributors
- @thodson-usgs made their first contribution in #188
Full Changelog: 4.0.1...4.0.2
Version 4.0.1
Bugfixes
- Fixed
sqlite3mypy's cache contamination, #186
New Contributors
- @UnknownPlatypus made their first contribution in #186
Full Changelog: 4.0.0...4.0.1
Version 4.0.0
What's Changed
Bugfixes
- Breaking: Errors are now ignored in site-packages by default. The
--mypy-only-local-stubflag
has been removed and replaced with--mypy-no-silence-site-packageswhich 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. theexplicit-overrideerror 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),
PYTHONPATHis 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 toPYTHONPATHwhich caused mypy to treat them as belonging in site-packages and not
as part of the first-party package. The new--mypy-modify-pythonpathflag 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
What's Changed
Features
- Drops
python3.8support - Adds official
python3.13support
Bugfixes
New Contributors
- @guitvcer made their first contribution in #164
- @Yosshi999 made their first contribution in #168
- @bzoracler made their first contribution in #180
- @alisaifee made their first contribution in #181
Full Changelog: 3.2.0...3.3.0
Version 3.2.0
Version 3.1.2
Bugfixes
- Fix joining
tomlconfigs with[[mypy.overrides]]
Version 3.1.1
Bugfixes
- Make sure that schema is open by default: only check existing fields
- Add
--mypy-schema-closedoption to check schemas with no extra fields
Version 3.1.0
Features
- Add
python3.12support - Add
mypy@1.8.0support - Add schema definition
Version 3.0.0
Features
- Breaking: Drop python3.7 support
- Add
pyproject.tomlconfig file support with--mypy-pyproject-toml-fileoption
Bugfixes
- Add
tox.inifile tosdistpackage - Add
requirements.txtfile tosdistpackage - Add
pyproject.tomlfile tosdistpackage