Skip to main content

Linter for gettext PO files

Project description

PyPI Licence Python versions Travis CI Codecov

polint is a linter for gettext PO files. It validates PO files against defined convensions.

Usage

polint.py [options] <path>...
polint.py -h | --help
polint.py --version

To print complete usage use --help option.

Errors

  • fuzzy - Translation is fuzzy

  • obsolete - Entry is obsolete

  • untranslated - Translation is missing. That includes fuzzy or obsolete.

  • location - Entry contains location data

  • unsorted - Entry is not properly sorted

Changelog

0.4

  • Fix installation in environment with C locales.

0.3

  • Use docopt for argument parsing.

  • Recursively search directories for .po files.

0.2

  • Add sort validator

0.1

  • Initial version

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polint-0.4.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file polint-0.4.tar.gz.

File metadata

  • Download URL: polint-0.4.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.7

File hashes

Hashes for polint-0.4.tar.gz
Algorithm Hash digest
SHA256 51b68a8719aaa141a288718e950d5f5c529d6b8efbfd6e3e35ab951092a91edd
MD5 e995adff11985f2869d9ef8b50b3a8f8
BLAKE2b-256 a2d15fac35965497b79be280dfc84d2702a8de126767da27f0dd03e71bcfae42

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page