summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_i0022.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_i0022.py')
-rw-r--r--pylint/test/input/func_i0022.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/pylint/test/input/func_i0022.py b/pylint/test/input/func_i0022.py
new file mode 100644
index 0000000..f5b308f
--- /dev/null
+++ b/pylint/test/input/func_i0022.py
@@ -0,0 +1,22 @@
+"""Deprecated suppression style."""
+
+__revision__ = None
+
+a = 1 # pylint: disable=invalid-name
+b = 1 # pylint: disable-msg=invalid-name
+
+# pylint: disable=invalid-name
+c = 1
+# pylint: enable=invalid-name
+
+# pylint: disable-msg=invalid-name
+d = 1
+# pylint: enable-msg=invalid-name
+
+# pylint: disable-msg=C0103
+e = 1
+# pylint: enable-msg=C0103
+
+# pylint: disable=C0103
+f = 1
+# pylint: enable=C0103