Skip to content

0.5.1

Choose a tag to compare

@github-actions github-actions released this 05 Nov 10:03

Bug fixes

  • dataclass-frozen (SMP701) and dataclass-slots (SMP702) treat whatever a method names its first parameter as the instance, not only self, so attributes set through def m(this) count (#50) by @gaborbernat.
  • mock-without-spec (SMP806) flags PropertyMock too, matching the mock classes the project index knows (#50) by @gaborbernat.
  • up-asyncio-iscoroutinefunction (SMP516) adds its inspect import in the standard-library section, where isort puts it, as up-chdir-restore (SMP513) and missing-final (SMP601) do (#50) by @gaborbernat.

Security

  • simplint clean no longer follows a .ruff_cache that is a symlink, which could delete a simplint directory outside the project (#50) by @gaborbernat.

Performance

  • Repeated runs without --fix reuse the cached reports of files that did not change, rather than only skipping files that had none, and the project index resolves each imported module once per directory (#50) by @gaborbernat.

🐍 PyPI release

📜 Full Changelog