Repository navigation
v1.9.3
This release updates bes-relevance-lint to bigfix-relevance-analyzer 1.19.0. That version adds five rules, and this release maps each of them to a code.
⚠️ Upgrade notes
- Requires
bigfix-relevance-analyzer >= 1.19.0on Python 3.11 or newer (was>= 1.16.3). The published hook installs it. If you definebes-relevance-lintasrepo: localwithlanguage: python, raise the version inadditional_dependencies. bes-relevance-lintcan now fail where it used to pass, through the newE612andE613errors. Disable either with--disableif needed.- Some
E603findings are nowE611. A plural operand where the engine requires a single value used to be reported as a general type error. If your config passes--disable E603, these findings will now fail the hook asE611until you also disableE611.
Added (bes-relevance-lint)
E611, a new error: a plural operand where the engine requires a single value, which it refuses before evaluating anything. Where it is safe, aunique value of(or singular-aggregate) rewrite is printed as a suggested fix.E612, a new error: an ActionScript{with anything after it on its line and no}to close it there, which fails the action.E613, a new error: a<?Relevancewith no closing?>, so its relevance was never linted.E614, a new error, off by default: a BES file that is not well-formed XML.bes-schema-validatestill owns file validity, so unparsable XML stays skipped here unless you pass--enable E614.W607, a new warning: a relevance code fence in markdown that is never closed. Only seen when you run the hook by hand on markdown.
Full Changelog: v1.9.2...v1.9.3