We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99139d9 commit c40150aCopy full SHA for c40150a
pycodestyle.py
@@ -55,6 +55,7 @@
55
import inspect
56
import keyword
57
import tokenize
58
+import warnings
59
from optparse import OptionParser
60
from fnmatch import fnmatch
61
try:
@@ -2190,10 +2191,11 @@ def _main_pep8():
2190
2191
"""
2192
print(
2193
'Deprecation Warning:\n'
- 'pep8 has been renamed to pycodestyle and the use of the pep8 '
2194
- 'executable will be removed in a future release. Please use '
2195
- '`pycodestyle` instead.\n'
+ 'Use of the pep8 tool will be removed in a future release.\n'
+ 'Please install and use `pycodestyle` instead.\n'
2196
)
2197
+ warnings.warn('pep8 has been renamed to pycodestyle (GitHub issue #466)')
2198
+
2199
_main()
2200
2201
0 commit comments