pydiatra (0.12.6.1) unstable; urgency=low

  * Fix compatibility with Python 3.9.
  * Improve documentation:
    + Use HTTPS for opengroup.org URL.
  * Fix test failures with Python 3.10.
  * Add EncodingWarning (added in Python 3.10) to the list of known
    exceptions.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 23 Oct 2021 20:06:50 +0200

pydiatra (0.12.5) unstable; urgency=low

  * Fix compatibility with Python 3.8.
    https://bugs.python.org/issue32892
  * Rephrase help messages for --help, --version.
  * Improve typography in the manual page.
  * Improve error handling.
  * Improve the test suite.
  * Generate py2diatra.1 and py3diatra.1 man pages at install time.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 22 Feb 2019 15:58:40 +0100

pydiatra (0.12.4) unstable; urgency=low

  * Fix compatibility with Python ≥ 3.8.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 19 Sep 2018 19:00:56 +0200

pydiatra (0.12.3) unstable; urgency=low

  * Fix Windows multiprocessing.
    As a result of bugs in Python interpreters that are difficult to work
    around, Windows multiprocessing is now disabled:
    - for Python 2.X;
    - for Python 3.0-3.3 (except when using the -m option).
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Tue, 29 May 2018 23:47:17 +0200

pydiatra (0.12.2) unstable; urgency=low

  * Update PyPI URLs in documentation.
  * Enable building wheels.
  * Fix Windows support:
    + Don't rely on existence of symlinks.
    + Don't install signal handler on Windows.
    + Never re-exec the interpreter on Windows.

 -- Jakub Wilk <jwilk@jwilk.net>  Wed, 16 May 2018 15:59:52 +0200

pydiatra (0.12.1) unstable; urgency=low

  * Don't disable parallelism when there's only one file to check.
    Now that recursive traversal is implemented, this optimization is no
    longer sound.

 -- Jakub Wilk <jwilk@jwilk.net>  Tue, 27 Feb 2018 22:33:18 +0100

pydiatra (0.12) unstable; urgency=low

  * Add support for checking directories recursively.
  * Add the -v/--verbose option.
  * Fix test failure with Python ≥ 3.7.0a2.
  * Use uppercase for metavars in the help output.
  * Disable bad regexp escape check only for Python ≥ 2.7.14.
    (Previously it was enabled also in Python 2.7.13 if it behaved the same
    way as later versions.)
  * Reset the SIGPIPE signal disposition.
  * Document Python version and third-party library requirements.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 16 Feb 2018 13:13:27 +0100

pydiatra (0.11.2) unstable; urgency=low

  * Fix compatibility with Python > 2.7.13.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 26 Aug 2017 19:32:31 +0200

pydiatra (0.11.1) unstable; urgency=low

  * Fix false positive regexp-overlapping-ranges.
  * Update check descriptions in README.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 02 Jun 2017 22:28:22 +0200

pydiatra (0.11) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - sys.hexversion-comparison
      - sys.version-comparison

  * Warn against comparisons with sys.version and sys.hexversion.
  * Don't warn against redundant re.UNICODE, re.LOCALE or re.ASCII when
    re.IGNORECASE is in effect.
  * Fix compatibility with Python 3.7.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Tue, 16 May 2017 23:36:40 +0200

pydiatra (0.10) unstable; urgency=low

  * Check for flags arguments in regexp methods.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 27 Apr 2017 12:59:01 +0200

pydiatra (0.9) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - regexp-misplaced-inline-flags

  * Add separate tag for misplaced inline flags in regular expressions.
  * Check for misplaced flags arguments in re.split(), re.sub(), re.subn()
    calls more thoroughly.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 20 Apr 2017 11:33:54 +0200

pydiatra (0.8) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - regexp-misplaced-flags-argument

  * Add check for misplaced flags arguments in re.split(), re.sub(), re.subn()
    calls.
  * Make “python2.6 -m pydiatra” work.
  * Make “--version” print also version of Python.
  * Improve the setup script:
    + Add long description.
    + Use distutils644 to normalize tarball permissions etc.

 -- Jakub Wilk <jwilk@jwilk.net>  Thu, 13 Apr 2017 13:23:37 +0200

pydiatra (0.7) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - async-await-used-as-name
    + Renamed:
      - inconsistent-indentation (from inconsistent-use-of-tabs-and-spaces-in-indentation)

  * Rename inconsistent-use-of-tabs-and-spaces-in-indentation as
    inconsistent-indentation.
  * Check for “async” and “await” used as names also in Pythons older than
    3.6.
  * Broaden regular expression checks:
    + Catch overlaps between lowercase and uppercase letter ranges when
      re.IGNORECASE is in effect.
  * Fix “python -m pydiatra --version” output.
  * Improve error handling.
  * Improve the test suite.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 27 Mar 2017 14:00:14 +0200

pydiatra (0.6) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - regexp-redundant-flag

  * Add check for redundant regexp flags.
  * Fix and extend examples for hardcoded-errno-value.
  * Fix compatibility with Python 3.7.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 25 Feb 2017 15:18:18 +0100

pydiatra (0.5) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - regexp-bad-escape
      - regexp-incompatible-flags

  * Broaden regular expression checks:
    + Check regexps that were compiled with the “flags” argument.
    + Check for bad escape sequences.
    + Check for incompatible flags.
    + Check replacement patters in re.sub() and re.subn() calls.
  * Update the list of built-in exception names.
    ModuleNotFoundError was added in Python 3.6.
  * In tag descriptions, point to Python 3 documentation where it makes sense.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 20 Feb 2017 09:45:51 +0100

pydiatra (0.4) unstable; urgency=low

  * Improve the test suite.
  * Improve check descriptions in README.
  * Automatically re-exec the interpreter if it wasn't run without the
    required flags (-3tt for Python 2.X).
  * Exit with status 2 if any issues in the checked code were found.
  * Add security warning for the “python -m” calls in the manual page.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 04 Feb 2017 17:28:34 +0100

pydiatra (0.3) unstable; urgency=low

  * Summary of tag changes:
    + Added:
      - regexp-syntax-warning

  * Enable warnings when parsing the code.
    With Python 3.6+, this catches invalid escape sequences in strings, which
    have been deprecated.
  * Enable warnings when compiling regular expressions.
    With Python 3.6+, this catches inline flags in the middle of a regexp,
    which have been deprecated.

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 26 Dec 2016 13:55:42 +0100

pydiatra (0.2.2) unstable; urgency=low

  * Add docstring to the main module.
  * Fix tests to be compatible with Python 3.6.

 -- Jakub Wilk <jwilk@jwilk.net>  Sat, 10 Dec 2016 17:31:54 +0100

pydiatra (0.2.1) unstable; urgency=low

  * Fix typos in tag descriptions.
  * Include tests in the source tarball.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 22 Jul 2016 17:10:07 +0200

pydiatra (0.2) unstable; urgency=low

  * Improve the -j/--jobs option:
    + Clarify the description.
    + Reject negative numbers and 0 as arguments.
    + Accept “auto” as the argument.
  * Fix encoding error handling.
  * Fix attribute error when compile() fails.
  * Fix false positive string-formatting-error for tuples with starargs.
  * Improve wording in README.

 -- Jakub Wilk <jwilk@jwilk.net>  Fri, 17 Jun 2016 22:24:33 +0200

pydiatra (0.1) unstable; urgency=low

  * Initial release.

  * Summary of tag changes:
    + Added:
      - assertion-always-true
      - embedded-code-copy
      - except-shadows-builtin
      - bare-except
      - hardcoded-errno-value
      - inconsistent-use-of-tabs-and-spaces-in-indentation
      - mkstemp-file-descriptor-leak
      - obsolete-pil-import
      - py3k-compat-warning
      - regexp-duplicate-range
      - regexp-overlapping-ranges
      - regexp-syntax-error
      - string-exception
      - string-formatting-error
      - syntax-error
      - syntax-warning

 -- Jakub Wilk <jwilk@jwilk.net>  Mon, 23 May 2016 19:18:49 +0200
