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.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.3.tar.gz (4.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for polint-0.3.tar.gz
Algorithm Hash digest
SHA256 3c4d2f5ce3974b682d120c9775a5ff4caf75efdf8a2d8e40ba1f7fbbf5a6983f
MD5 f2f0cbf77fe50e3f4dd7a966c8a7bacf
BLAKE2b-256 71e307cc125f21eae5dfff97a4889cae08cee241fe080dc247185030dbc79b61

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