Skip to content

Commit 20a8828

Browse files
committed
[pylint] remove unsupported warnings and errors
1 parent 62fb804 commit 20a8828

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.pylintrc

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ enable=C0102, # Black listed name "%s"**
8787
E0203, # Access to member %r before its definition line %s**
8888
E0211, # Method has no argument**
8989
E0213, # Method should have "self" as first argument**
90-
E0221, # Interface resolved to %s is not a class**
91-
E0222, # Missing method %r from %s interface**
90+
# E0221, # Interface resolved to %s is not a class**
91+
# E0222, # Missing method %r from %s interface**
9292
E0235, # __exit__ must accept 3 arguments: type, value, traceback**
93-
E0501, # Old: Non ascii characters found but no encoding specified (PEP 263)**
94-
E0502, # Old: Wrong encoding specified (%s)**
95-
E0503, # Old: Unknown encoding specified (%s)**
93+
# E0501, # Old: Non ascii characters found but no encoding specified (PEP 263)**
94+
# E0502, # Old: Wrong encoding specified (%s)**
95+
# E0503, # Old: Unknown encoding specified (%s)**
9696
E0601, # Using variable %r before assignment**
9797
E0602, # Undefined variable %r**
9898
E0603, # Undefined variable name %r in __all__**
@@ -103,17 +103,17 @@ enable=C0102, # Black listed name "%s"**
103103
E0710, # Raising a new style class which doesn't inherit from BaseException**
104104
E0711, # NotImplemented raised - should raise NotImplementedError**
105105
E0712, # Catching an exception which doesn\'t inherit from BaseException: %s**
106-
E1001, # Use of __slots__ on an old style class**
107-
E1002, # Use of super on an old style class**
106+
# E1001, # Use of __slots__ on an old style class**
107+
# E1002, # Use of super on an old style class**
108108
E1003, # Bad first argument %r given to super()**
109-
E1004, # Missing argument to super()**
109+
# E1004, # Missing argument to super()**
110110
# E1101, # %s %r has no %r member** ## RE-ENABLE AFTER CODE RESTRUCTURING
111111
E1102, # %s is not callable**
112112
# E1103, # %s %r has no %r member (but some types could not be inferred)** ## RE-ENABLE AFTER CODE RESTRUCTURING
113113
E1111, # Assigning to function call which doesn't return**
114114
E1120, # No value passed for parameter %s in function call**
115115
E1121, # Too many positional arguments for function call**
116-
E1122, # Old: Duplicate keyword argument %r in function call**
116+
# E1122, # Old: Duplicate keyword argument %r in function call**
117117
E1123, # Passing unexpected keyword argument %r in function call**
118118
E1124, # Parameter %r passed as both positional and keyword argument**
119119
E1125, # Old: Missing mandatory keyword argument %r**
@@ -146,11 +146,11 @@ enable=C0102, # Black listed name "%s"**
146146
W0234, # iter returns non-iterator**
147147
W0301, # Unnecessary semicolon**
148148
W0311, # Bad indentation. Found %s %s, expected %s**
149-
W0312, # Found indentation with %ss instead of %ss**
150-
W0331, # Use of the <> operator**
149+
# W0312, # Found indentation with %ss instead of %ss**
150+
# W0331, # Use of the <> operator**
151151
W0402, # Uses of a deprecated module %r**
152152
W0406, # Module import itself**
153-
W0512, # Cannot decode using encoding "%s", unexpected byte at position %d**
153+
# W0512, # Cannot decode using encoding "%s", unexpected byte at position %d**
154154
W0601, # Global variable %r undefined at the module level**
155155
W0602, # Using global for %r but no assigment is done**
156156
W0611, # Unused import %s**
@@ -159,15 +159,15 @@ enable=C0102, # Black listed name "%s"**
159159
W0614, # Unused import %s from wildcard import**
160160
W0621, # Redefining name %r from outer scope (line %s)**
161161
W0622, # Redefining built-in %r**
162-
W0623, # Redefining name %r from %s in exception handler**
162+
# W0623, # Redefining name %r from %s in exception handler**
163163
W0631, # Using possibly undefined loop variable %r**
164164
W0632, # Possible unbalanced tuple unpacking with sequence%s: …**
165165
W0633, # Attempting to unpack a non-sequence%s**
166-
W0701, # Raising a string exception**
167-
W0704, # Except doesn't do anything**
168-
W0710, # Exception doesn't inherit from standard "Exception" class**
166+
# W0701, # Raising a string exception**
167+
# W0704, # Except doesn't do anything**
168+
# W0710, # Exception doesn't inherit from standard "Exception" class**
169169
W0711, # Exception to catch is the result of a binary "%s" operation**
170-
W0712, # Implicit unpacking of exceptions is not supported in Python 3**
170+
# W0712, # Implicit unpacking of exceptions is not supported in Python 3**
171171
W1111, # Assigning to function call which only returns None**
172172
W1300, # Format string dictionary key should be a string, not %s**
173173
W1301, # Unused key %r in format string dictionary**
@@ -620,5 +620,5 @@ preferred-modules=
620620

621621
# Exceptions that will emit a warning when being caught. Defaults to
622622
# "BaseException, Exception".
623-
overgeneral-exceptions=BaseException,
624-
Exception
623+
overgeneral-exceptions=builtin.BaseException,
624+
builtin.Exception

0 commit comments

Comments
 (0)