Skip to content

0.10.3

Choose a tag to compare

@github-actions github-actions released this 11 Nov 23:10

Changes

  • simplint no longer reports what a Ruff rule reports, preview rules included, whether or not the project's Ruff configuration selects that rule; before, a rule left a case to Ruff only while Ruff ran the rule. Rules that already left cases to Ruff now always do, and these rules leave Ruff's cases for the first time: private-import-path (PLC2701), init-module-content (F401), up-backport-import (A004, when it has no fix), stdlib-mock (TID251, when banned-api bans the import), section-comment (E265 and E266, for a heading written as prose), function-docstring and test-module-docstring (D418 and D419, when they have no fix) and unused-default (PT028, when it has no fix). Select the Ruff rules to have these cases reported. undocumented-public-api still leaves a case to Ruff's D1 rules only while they run, since the recommended setup turns them off. all-format and string-concatenation also still leave a COM812 or ISC003 case to Ruff only while those run, since ruff format moves the line breaks the two rules read (#126) by @gaborbernat.
  • constant-assert, mock-assertion-typo and module-variable-case report again the cases they can fix that Ruff's F631, PLW0129, PGH005 and N816 report without a fix, so the fix stays available (#126) by @gaborbernat.
  • A file that does not parse is skipped with a warning instead of reporting its syntax errors as invalid-syntax, which Ruff already reports. A run whose only problem is such a file exits with 0 (#126) by @gaborbernat.

Bug fixes

Documentation

🐍 PyPI release

📜 Full Changelog