@@ -87,12 +87,12 @@ enable=C0102, # Black listed name "%s"**
87
87
E0203, # Access to member %r before its definition line %s**
88
88
E0211, # Method has no argument**
89
89
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**
92
92
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)**
96
96
E0601, # Using variable %r before assignment**
97
97
E0602, # Undefined variable %r**
98
98
E0603, # Undefined variable name %r in __all__**
@@ -103,17 +103,17 @@ enable=C0102, # Black listed name "%s"**
103
103
E0710, # Raising a new style class which doesn't inherit from BaseException**
104
104
E0711, # NotImplemented raised - should raise NotImplementedError**
105
105
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**
108
108
E1003, # Bad first argument %r given to super()**
109
- E1004, # Missing argument to super()**
109
+ # E1004, # Missing argument to super()**
110
110
# E1101, # %s %r has no %r member** ## RE-ENABLE AFTER CODE RESTRUCTURING
111
111
E1102, # %s is not callable**
112
112
# E1103, # %s %r has no %r member (but some types could not be inferred)** ## RE-ENABLE AFTER CODE RESTRUCTURING
113
113
E1111, # Assigning to function call which doesn't return**
114
114
E1120, # No value passed for parameter %s in function call**
115
115
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**
117
117
E1123, # Passing unexpected keyword argument %r in function call**
118
118
E1124, # Parameter %r passed as both positional and keyword argument**
119
119
E1125, # Old: Missing mandatory keyword argument %r**
@@ -146,11 +146,11 @@ enable=C0102, # Black listed name "%s"**
146
146
W0234, # iter returns non-iterator**
147
147
W0301, # Unnecessary semicolon**
148
148
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**
151
151
W0402, # Uses of a deprecated module %r**
152
152
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**
154
154
W0601, # Global variable %r undefined at the module level**
155
155
W0602, # Using global for %r but no assigment is done**
156
156
W0611, # Unused import %s**
@@ -159,15 +159,15 @@ enable=C0102, # Black listed name "%s"**
159
159
W0614, # Unused import %s from wildcard import**
160
160
W0621, # Redefining name %r from outer scope (line %s)**
161
161
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**
163
163
W0631, # Using possibly undefined loop variable %r**
164
164
W0632, # Possible unbalanced tuple unpacking with sequence%s: …**
165
165
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**
169
169
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**
171
171
W1111, # Assigning to function call which only returns None**
172
172
W1300, # Format string dictionary key should be a string, not %s**
173
173
W1301, # Unused key %r in format string dictionary**
@@ -620,5 +620,5 @@ preferred-modules=
620
620
621
621
# Exceptions that will emit a warning when being caught. Defaults to
622
622
# "BaseException, Exception".
623
- overgeneral-exceptions =BaseException,
624
- Exception
623
+ overgeneral-exceptions =builtin. BaseException,
624
+ builtin. Exception
0 commit comments