Skip to content

Commit bc62e08

Browse files
Added Comment For Max Positional Arguments
1 parent 6f8a10a commit bc62e08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/pylint_check.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ def main():
222222
cmd.append("--variable-rgx=[a-z][a-z0-9_]{0,40}$")
223223

224224
# Increase the max number of positional arguments.
225+
# Many legacy functions in this codebase use 25+ positional arguments.
226+
# We should refactor these functions to use fewer parameters or
227+
# configuration objects in the future.
225228
cmd.append("--max-positional-arguments=30")
226229

227230
# Run pylint and check output

0 commit comments

Comments
 (0)