55# run arbitrary code.
66extension-pkg-whitelist =pyarrow.lib
77
8+ # Specify a score threshold to be exceeded before program exits with error.
9+ fail-under =10
10+
811# Add files or directories to the blacklist. They should be base names, not
912# paths.
1013ignore =CVS
@@ -33,9 +36,6 @@ load-plugins=
3336# Pickle collected data for later comparisons.
3437persistent =yes
3538
36- # Specify a configuration file.
37- # rcfile=
38-
3939# When enabled, pylint would attempt to guess common misconfiguration and emit
4040# user-friendly hints instead of false-positive error messages.
4141suggestion-mode =yes
@@ -139,10 +139,8 @@ disable=print-statement,
139139 deprecated-sys-function,
140140 exception-escape,
141141 comprehension-escape,
142- C0330,
143- C0103,
144- W1202,
145- too-few-public-methods
142+ invalid-name,
143+ bad-continuation
146144
147145# Enable the message, report, category or checker with the given id(s). You can
148146# either give multiple identifier separated by comma (,) or put this option
@@ -190,8 +188,8 @@ never-returning-functions=sys.exit
190188
191189[LOGGING]
192190
193- # Format style used to check logging format string . `old` means using %
194- # formatting, `new` is for `{}` formatting,and `fstr` is for f-strings .
191+ # The type of string formatting that logging methods do . `old` means using %
192+ # formatting, `new` is for `{}` formatting.
195193logging-format-style =old
196194
197195# Logging modules to check that the string format arguments are in logging
@@ -226,6 +224,9 @@ notes=FIXME,
226224 XXX,
227225 TODO
228226
227+ # Regular expression of note tags to take in consideration.
228+ # notes-rgx=
229+
229230
230231[TYPECHECK]
231232
@@ -331,7 +332,7 @@ indent-string=' '
331332max-line-length =120
332333
333334# Maximum number of lines in a module.
334- max-module-lines =4000
335+ max-module-lines =1250
335336
336337# List of optional constructs for which whitespace checking is disabled. `dict-
337338# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
@@ -388,6 +389,10 @@ bad-names=foo,
388389 tutu,
389390 tata
390391
392+ # Bad variable names regexes, separated by a comma. If names match any regex,
393+ # they will always be refused
394+ bad-names-rgxs =
395+
391396# Naming style matching correct class attribute names.
392397class-attribute-naming-style =any
393398
@@ -428,6 +433,10 @@ good-names=i,
428433 Run,
429434 _
430435
436+ # Good variable names regexes, separated by a comma. If names match any regex,
437+ # they will always be accepted
438+ good-names-rgxs =
439+
431440# Include a hint for the correct naming format with invalid-name.
432441include-naming-hint =no
433442
@@ -475,9 +484,12 @@ variable-naming-style=snake_case
475484
476485[STRING]
477486
478- # This flag controls whether the implicit-str-concat-in-sequence should
479- # generate a warning on implicit string concatenation in sequences defined over
480- # several lines.
487+ # This flag controls whether inconsistent-quotes generates a warning when the
488+ # character used as a quote delimiter is used inconsistently within a module.
489+ check-quote-consistency =no
490+
491+ # This flag controls whether the implicit-str-concat should generate a warning
492+ # on implicit string concatenation in sequences defined over several lines.
481493check-str-concat-over-line-jumps =no
482494
483495
@@ -547,7 +559,7 @@ valid-metaclass-classmethod-first-arg=cls
547559[DESIGN]
548560
549561# Maximum number of arguments for function / method.
550- max-args =20
562+ max-args =25
551563
552564# Maximum number of attributes for a class (see R0902).
553565max-attributes =7
@@ -556,10 +568,10 @@ max-attributes=7
556568max-bool-expr =5
557569
558570# Maximum number of branch for function / method body.
559- max-branches =20
571+ max-branches =15
560572
561573# Maximum number of locals for function / method body.
562- max-locals =35
574+ max-locals =30
563575
564576# Maximum number of parents for a class (see R0901).
565577max-parents =7
0 commit comments