Suppress few pylint recommendations
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 27 Nov 2012 14:05:36 +0000 (16:05 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 27 Nov 2012 14:14:28 +0000 (16:14 +0200)
Change-Id: Ia757396ffe5d39b3ff5d35b9639417c662f74706
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/Fiemap.py
tests/helpers.py
tests/test_fiemap.py

index d9427a7..34788fb 100644 (file)
@@ -6,6 +6,10 @@ allows to find holes and mapped areas in a file. """
 # know the FIEMAP interface, which is documented in the
 # Documentation/filesystems/fiemap.txt file in the Linux kernel sources.
 
+# Disable the following pylint recommendations:
+#   * Too many instance attributes (R0902)
+# pylint: disable=R0902
+
 import os
 import struct
 import array
index 13aeb14..99015bb 100644 (file)
@@ -1,6 +1,10 @@
 """ This module contains independent functions shared between various
 tests. """
 
+# Disable the following pylint recommendations:
+#   * Too many statements (R0915)
+# pylint: disable=R0915
+
 import os
 import tempfile
 import random
index a6dff22..702a6ee 100644 (file)
@@ -1,6 +1,10 @@
 """ This test verifies Fiemap module functionality. It generates random sparse
 files and make sure FIEMAP returns correct information about the holes. """
 
+# Disable the following pylint recommendations:
+#   *  Too many public methods - R0904
+# pylint: disable=R0904
+
 import unittest
 import itertools