Skip to content

v1.9.2

Choose a tag to compare

@github-actions github-actions released this 06 Oct 22:22
· 15 commits to main since this release

This release updates bes-relevance-lint to bigfix-relevance-analyzer 1.16.3. That version adds two rules, moves plural ActionScript substitutions from an error to a warning, and reports a named file whose type the analyzer cannot read.

⚠️ Upgrade notes

  • Requires bigfix-relevance-analyzer >= 1.16.3 on Python 3.11 or newer (was >= 1.13.3). The published hook installs it. If you define bes-relevance-lint as repo: local with language: python, raise the version in additional_dependencies.
  • bes-relevance-lint can now fail where it used to pass, through the new E610. Disable it with --disable E610 if needed.
  • A plural {...} substitution no longer fails the hook. It used to be the E608 error and is now the W606 warning, which fails only under --strict.

Added (bes-relevance-lint)

  • E610, a new error: an ActionScript command word used as a relevance name, such as exists prefetch. Usually this is an ActionScript line pasted or doubled into relevance.
  • W606, a new warning: an ordinary ActionScript {...} substitution (in a run, wait, parameter, ...) whose value may be more than one value. The client joins the values with no separator, so the action runs but probably not as meant. Use concatenation "<sep>" of (...) or a tighter filter.

Changed (bes-relevance-lint)

  • E608 now covers a non-boolean <Relevance>, and an if/elseif/continue if condition that is not a boolean or string. Plural substitutions moved to W606.
  • E607 now also reports a file named on the command line whose type the analyzer cannot read, such as notes.txt. Before, such a file passed with no output. Under pre-commit the hook's files: pattern keeps these files away, so this only matters if you run the hook by hand or widen files:.

Full Changelog: v1.9.0...v1.9.2