An ilib-lint plugin for checking Python i18n resources. Latest version 2.0.4 (stable). This plugin parses PO files and provides rules to validate Python-style substitution parameters in translated strings. It supports f-strings (named and numbered), legacy %-formatting with named placeholders, and Template class substitution. Key differentiator: integrates with the ilib-lint ecosystem, enabling automated checks for common Python localization pitfalls. Releases are infrequent as part of the ilib-mono monorepo. Requires Node >=14 and ESM modules.
npm install ilib-lint-pythonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install and configure the python plugin for ilib-lint.
Use import syntax and ensure Node >=14.
Set '"plugins": ["python"]' in ilib-lint-config.json.
Prefer resource-python-fstrings-match and resource-python-fstrings-numbered.
Switch to import syntax or set type: 'module' in package.json.
Use '"plugins": ["python"]' instead of '"plugins": ["ilib-lint-python"]'.