diff options
Diffstat (limited to 'pycodestyle.py')
-rwxr-xr-x | pycodestyle.py | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index b764f89..7026396 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -64,7 +64,7 @@ try: except ImportError: from ConfigParser import RawConfigParser -__version__ = '2.0.0a1' +__version__ = '2.0.0' DEFAULT_EXCLUDE = '.svn,CVS,.bzr,.hg,.git,__pycache__,.tox' DEFAULT_IGNORE = 'E121,E123,E126,E226,E24,E704,W503' @@ -2184,20 +2184,5 @@ def _main(): sys.exit(1) -def _main_pep8(): - """Entrypoint for pep8 commandline tool. - - Warn of deprecation and advise users to switch to pycodestyle. - """ - print( - 'Deprecation Warning:\n' - 'Use of the pep8 tool will be removed in a future release.\n' - 'Please install and use `pycodestyle` instead.\n' - ) - warnings.warn('pep8 has been renamed to pycodestyle (GitHub issue #466)') - - _main() - - if __name__ == '__main__': _main() |