summaryrefslogtreecommitdiff
path: root/pylint/utils.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-10-20 19:15:40 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2015-10-20 19:15:40 +0300
commitf6f5d270e7cfadb3dc0a3966c2edf4e322361fac (patch)
treea37ba3877db6ba37ac8c78d0fa48c0df17af60a7 /pylint/utils.py
parent050fc46ebc5d4ddfc50b7553f4af336172431ac5 (diff)
downloadpylint-f6f5d270e7cfadb3dc0a3966c2edf4e322361fac.tar.gz
Obsolete options are not present by default in the generated configuration file.
Closes issue #632.
Diffstat (limited to 'pylint/utils.py')
-rw-r--r--pylint/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/utils.py b/pylint/utils.py
index e34e8e8..2f8de80 100644
--- a/pylint/utils.py
+++ b/pylint/utils.py
@@ -997,7 +997,8 @@ def deprecated_option(shortname=None, opt_type=None, help_msg=None):
'hide': True,
'type': opt_type,
'action': 'callback',
- 'callback': _warn_deprecated
+ 'callback': _warn_deprecated,
+ 'deprecated': True
}
if shortname:
option['shortname'] = shortname