Skip to content

Commit d1504af

Browse files
Fix pylint and 2nd half of the pyright warnings in unit tests
Signed-off-by: Bernhard Kaindl <bernhard.kaindl@cloud.com>
1 parent 32aceac commit d1504af

File tree

6 files changed

+4
-184
lines changed

6 files changed

+4
-184
lines changed

.pylintrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ disable=W0142,W0703,C0111,R0201,W0603,W0613,W0212,W0141,
6565
len-as-condition,
6666
no-else-return,
6767
raise-missing-from,
68+
too-many-positional-arguments,
6869
too-many-branches,
6970
too-many-nested-blocks,
7071
too-many-statements,
@@ -222,8 +223,9 @@ defining-attr-methods=__init__,__new__,setUp
222223

223224
[DESIGN]
224225

225-
# Maximum number of arguments for function / method
226-
max-args=100
226+
# Maximum number of arguments for function / method.
227+
# defaults to: max-args=5
228+
max-args=10
227229

228230
# Argument names that match this expression will be ignored. Default to name
229231
# with leading underscore

stubs/pyfakefs/__init__.pyi

Whitespace-only changes.

stubs/pyfakefs/fake_filesystem.pyi

Lines changed: 0 additions & 151 deletions
This file was deleted.

stubs/pyfakefs/fake_filesystem_unittest.pyi

Lines changed: 0 additions & 20 deletions
This file was deleted.

stubs/pytest.pyi

Lines changed: 0 additions & 8 deletions
This file was deleted.

stubs/werkzeug/wrappers.pyi

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)