diff --git a/MANIFEST.in b/MANIFEST.in index 0c43f759..ff0977c9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -13,6 +13,7 @@ include test/iso_8859_1.py include test/fake_configuration/.pep8 include test/fake_pycodestyle_configuration/tox.ini include tox.ini +include .pre-commit-hooks.yaml recursive-exclude test/suite *.py recursive-exclude test/suite/out *.py exclude .travis.yml diff --git a/autopep8.py b/autopep8.py index 84e3e1bf..5c9130c9 100755 --- a/autopep8.py +++ b/autopep8.py @@ -84,12 +84,13 @@ class documentation for more information. import warnings import ast from configparser import ConfigParser as SafeConfigParser, Error +from packaging.version import parse as parse_version import pycodestyle from pycodestyle import STARTSWITH_INDENT_STATEMENT_REGEX -__version__ = '2.0.2' +__version__ = '2.0.3' CR = '\r'