diff options
author | Ian Lee <IanLee1521@gmail.com> | 2016-05-31 16:56:02 -0700 |
---|---|---|
committer | Ian Lee <IanLee1521@gmail.com> | 2016-05-31 16:57:17 -0700 |
commit | fd4f1c286cdc4e0bc25822e10742adbc9062af15 (patch) | |
tree | b71873bfc30a9d89acc5ae9c887751bff5cea1f5 /pycodestyle.py | |
parent | c7490b0f3ff1d18fae8c7f12b835885dc3bd19fc (diff) | |
download | pep8-release/2.0.0.tar.gz |
Tagged release 2.0.02.0.0release/2.0.0
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() |