Skip to content
Closed
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: black
args: [--safe, --quiet]
exclude: tests/functional|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/
exclude: tests/functional/|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
Expand Down
1 change: 0 additions & 1 deletion pylint/checkers/typecheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,6 @@ def visit_call(self, node):
num_positional_args += implicit_args + already_filled_positionals

# Analyze the list of formal parameters.

args = list(itertools.chain(called.args.posonlyargs or (), called.args.args))
num_mandatory_parameters = len(args) - len(called.args.defaults)
parameters = []
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions tests/functional/a/arguments.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[TYPECHECK]
signature-mutators=functional.a.arguments.mutation_decorator
File renamed without changes.
2 changes: 0 additions & 2 deletions tests/functional/arguments.rc

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Test function argument checker on __init__

Based on test/functional/arguments.py
Based on tests/functional/a/arguments.py
"""
# pylint: disable=C0111,R0903,W0231, useless-object-inheritance

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading