@@ -58,8 +58,7 @@ confidence=
5858# --enable=similarities". If you want to run only the classes checker, but have
5959# no Warning level messages displayed, use"--disable=all --enable=classes
6060# --disable=W"
61- disable =no-self-use, # disabled as it is too verbose
62- fixme, # disabled as TODOs would show up as warnings
61+ disable =fixme, # disabled as TODOs would show up as warnings
6362 protected-access, # disabled as we don't follow the public vs private
6463 # convention strictly
6564 duplicate-code, # disabled as it is too verbose
@@ -72,9 +71,6 @@ disable=no-self-use, # disabled as it is too verbose
7271 no-else-return, # relax "elif" after a clause with a return
7372 docstring-first-line-empty, # relax docstring style
7473 import-outside-toplevel,
75- bad-continuation, bad-whitespace, # differences of opinion with black
76-
77-
7874
7975
8076[REPORTS]
@@ -84,12 +80,6 @@ disable=no-self-use, # disabled as it is too verbose
8480# mypackage.mymodule.MyReporterClass.
8581output-format =text
8682
87- # Put messages in a separate file for each module / package specified on the
88- # command line instead of printing them on stdout. Reports (if any) will be
89- # written in a file name "pylint_global.[txt|html]". This option is deprecated
90- # and it will be removed in Pylint 2.0.
91- files-output =no
92-
9383# Tells whether to display a full report or only the messages
9484reports =yes
9585
@@ -138,63 +128,33 @@ property-classes=abc.abstractproperty
138128# Regular expression matching correct module names
139129module-rgx =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
140130
141- # Naming hint for module names
142- module-name-hint =(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
143-
144131# Regular expression matching correct constant names
145132const-rgx =(([A-Z_][A-Z0-9_]*)|(__.*__))$
146133
147- # Naming hint for constant names
148- const-name-hint =(([A-Z_][A-Z0-9_]*)|(__.*__))$
149-
150134# Regular expression matching correct class names
151135class-rgx =[A-Z_][a-zA-Z0-9]+$
152136
153- # Naming hint for class names
154- class-name-hint =[A-Z_][a-zA-Z0-9]+$
155-
156137# Regular expression matching correct function names
157138function-rgx =[a-z_][a-z0-9_]{2,30}$
158139
159- # Naming hint for function names
160- function-name-hint =[a-z_][a-z0-9_]{2,30}$
161-
162140# Regular expression matching correct method names
163141method-rgx =(([a-z_][a-z0-9_]{2,49})|(assert[A-Z][a-zA-Z0-9]{2,43})|(test_[_a-zA-Z0-9]{2,}))$
164142
165- # Naming hint for method names
166- method-name-hint =[a-z_][a-z0-9_]{2,30}$ or camelCase `assert*` in tests.
167-
168143# Regular expression matching correct attribute names
169144attr-rgx =[a-z_][a-z0-9_]{2,30}$
170145
171- # Naming hint for attribute names
172- attr-name-hint =[a-z_][a-z0-9_]{2,30}$
173-
174146# Regular expression matching correct argument names
175147argument-rgx =[a-z_][a-z0-9_]{2,30}|ax|dt$
176148
177- # Naming hint for argument names
178- argument-name-hint =[a-z_][a-z0-9_]{2,30}$
179-
180149# Regular expression matching correct variable names
181150variable-rgx =[a-z_][a-z0-9_]{2,30}$
182151
183- # Naming hint for variable names
184- variable-name-hint =[a-z_][a-z0-9_]{2,30}$
185-
186152# Regular expression matching correct class attribute names
187153class-attribute-rgx =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
188154
189- # Naming hint for class attribute names
190- class-attribute-name-hint =([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
191-
192155# Regular expression matching correct inline iteration names
193156inlinevar-rgx =[A-Za-z_][A-Za-z0-9_]*$
194157
195- # Naming hint for inline iteration names
196- inlinevar-name-hint =[A-Za-z_][A-Za-z0-9_]*$
197-
198158# Regular expression which should only match function or class names that do
199159# not require a docstring.
200160no-docstring-rgx =^_
@@ -222,12 +182,6 @@ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
222182# else.
223183single-line-if-stmt =no
224184
225- # List of optional constructs for which whitespace checking is disabled. `dict-
226- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
227- # `trailing-comma` allows a space between comma and closing bracket: (a, ).
228- # `empty-line` allows space-only lines.
229- no-space-check =trailing-comma,dict-separator
230-
231185# Maximum number of lines in a module
232186max-module-lines =1000
233187
0 commit comments