- Use file README.md as package long description
- Fix UnicodeDecodeError in case of invalid UTF-8 in input file
- Breaking: drop Python 2 support, Python 3.6 is now required
- Breaking: rename option
--skip-noqa
to--check-noqa
and reverse behavior: without option, strings withnoqa
are now skipped by default
- Add support for Chinese full-stop
- Add lint with bandit in CI
- Use pytest for unit tests
- Replace Travis CI by GitHub Actions
- Add option
-i
(or--ignore-errors
): always return 0 even if errors are found
- Fix parsing of "noqa" tag in comments (#11)
- Add support of multiple personal word list files (multiple options
-P
/--pwl
) (#5)
- Remove C and Python string formatters for spell checking (#3)
- Display multiple misspelled words on same error line
- Sort and keep unique misspelled words with option
-m
/--only-misspelled
- Fix read of fuzzy flag
- Breaking: add argument id/str for
-s
/--spelling
to check messages or translations
- Add pylint checks for Travis CI
- Ensure pwl is not None before checking if file exists
- Exit immediately if pwl file does not exist
- Add tests with Travis CI
- Code refactoring, add setup.py and tests
- Fix return code when there are more than 255 files with errors
- Code cleanup
- Add option
-W
(or--no-whitespace-eol
) to not check trailing whitespace at end of lines inside strings
- Fix error with
--spelling
- Add a main function
- Breaking: rename some long names for command line options
- Use codecs module to unescape strings (faster with python 3)
- Add short option synonym
-P
for--pwl
- Add short option synonym
-e
for--extract
- Major code cleanup: add comments, move checking/error functions from class PoMessage to class PoFile
- Full PEP8 compliance
- Fix problem when latest string in file has a plural form (this last translation was ignored)
- Display full exception in case of problem when reading file
- Display number of files OK when there are multiple files checked and no errors
- Add short option
-m
for--onlymisspelled
- Add option
-d
(or--dicts
) to use extra dictionaries for spell checking
- Add option
--onlymisspelled
to display only misspelled words instead of errors with translations
- Add option
--extract
to extract translations
- Add option
-s
(or--spelling
) to check spelling and option--pwl
to use a personal list of words (with modulepython-enchant
)
- Breaking: rename arguments:
-n
to-l
,-s
to-w
- Use argparse module to parse command line arguments, allow long name for arguments
- Display "(fuzzy)" after line number and colon in error messages
- Fix detection of fuzzy strings in gettext files
- Breaking: use absolute path for filenames displayed
- Remove some fancy chars in output so that output can be used as compilation output in editors like Emacs
- Read environment variable
MSGCHECK_OPTIONS
- Add option
-c
(do not check compilation)
- Use specific period for Japanese when checking punctuation
- Use own .po parser (about 200x faster!)
- Add options
-f
(check fuzzy),-q
(quiet) and-v
(display version)
- Add options to disable some checks
- Check punctuation at end of string
- Breaking: rename script to
msgcheck.py
- Display syntax when script is called without filename
- Replace os.system by subprocess
- Add check of compilation with
msgfmt -c
- Allow multiple po filenames
- Add check of spaces at beginning/end of strings
- First release