-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix message for too-many-arguments
lint
#8092
Merged
charliermarsh
merged 4 commits into
astral-sh:main
from
flying-sheep:fix-too-many-args-msg
Oct 20, 2023
Merged
Fix message for too-many-arguments
lint
#8092
charliermarsh
merged 4 commits into
astral-sh:main
from
flying-sheep:fix-too-many-args-msg
Oct 20, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PR Check ResultsEcosystemℹ️ ecosystem check detected changes. (+2249, -2249, 0 error(s)) airflow (+1912, -1912)
+ airflow/api/client/api_client.py:33:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api/client/api_client.py:33:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/api/client/json_client.py:57:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api/client/json_client.py:57:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/api/client/local_client.py:31:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api/client/local_client.py:31:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/api/common/mark_tasks.py:209:5: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api/common/mark_tasks.py:209:5: PLR0913 Too many arguments to function call (6 > 5) + airflow/api/common/mark_tasks.py:522:5: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api/common/mark_tasks.py:522:5: PLR0913 Too many arguments to function call (6 > 5) + airflow/api/common/mark_tasks.py:83:5: PLR0913 Too many arguments in function definition (10 > 5) - airflow/api/common/mark_tasks.py:83:5: PLR0913 Too many arguments to function call (10 > 5) + airflow/api/common/trigger_dag.py:34:5: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api/common/trigger_dag.py:34:5: PLR0913 Too many arguments to function call (6 > 5) + airflow/api_connexion/endpoints/dag_endpoint.py:138:5: PLR0913 Too many arguments in function definition (7 > 5) - airflow/api_connexion/endpoints/dag_endpoint.py:138:5: PLR0913 Too many arguments to function call (7 > 5) + airflow/api_connexion/endpoints/dag_endpoint.py:75:5: PLR0913 Too many arguments in function definition (8 > 5) - airflow/api_connexion/endpoints/dag_endpoint.py:75:5: PLR0913 Too many arguments to function call (8 > 5) + airflow/api_connexion/endpoints/dag_run_endpoint.py:129:5: PLR0913 Too many arguments in function definition (13 > 5) - airflow/api_connexion/endpoints/dag_run_endpoint.py:129:5: PLR0913 Too many arguments to function call (13 > 5) + airflow/api_connexion/endpoints/dag_run_endpoint.py:198:5: PLR0913 Too many arguments in function definition (14 > 5) - airflow/api_connexion/endpoints/dag_run_endpoint.py:198:5: PLR0913 Too many arguments to function call (14 > 5) + airflow/api_connexion/endpoints/dag_warning_endpoint.py:45:5: PLR0913 Too many arguments in function definition (6 > 5) - airflow/api_connexion/endpoints/dag_warning_endpoint.py:45:5: PLR0913 Too many arguments to function call (6 > 5) + airflow/api_connexion/endpoints/dataset_endpoint.py:91:5: PLR0913 Too many arguments in function definition (9 > 5) - airflow/api_connexion/endpoints/dataset_endpoint.py:91:5: PLR0913 Too many arguments to function call (9 > 5) + airflow/api_connexion/endpoints/event_log_endpoint.py:55:5: PLR0913 Too many arguments in function definition (10 > 5) - airflow/api_connexion/endpoints/event_log_endpoint.py:55:5: PLR0913 Too many arguments to function call (10 > 5) + airflow/api_connexion/endpoints/log_endpoint.py:45:5: PLR0913 Too many arguments in function definition (8 > 5) - airflow/api_connexion/endpoints/log_endpoint.py:45:5: PLR0913 Too many arguments to function call (8 > 5) + airflow/api_connexion/endpoints/task_instance_endpoint.py:155:5: PLR0913 Too many arguments in function definition (20 > 5) - airflow/api_connexion/endpoints/task_instance_endpoint.py:155:5: PLR0913 Too many arguments to function call (20 > 5) + airflow/api_connexion/endpoints/task_instance_endpoint.py:293:5: PLR0913 Too many arguments in function definition (18 > 5) - airflow/api_connexion/endpoints/task_instance_endpoint.py:293:5: PLR0913 Too many arguments to function call (18 > 5) + airflow/api_connexion/endpoints/xcom_endpoint.py:45:5: PLR0913 Too many arguments in function definition (8 > 5) - airflow/api_connexion/endpoints/xcom_endpoint.py:45:5: PLR0913 Too many arguments to function call (8 > 5) + airflow/api_connexion/endpoints/xcom_endpoint.py:82:5: PLR0913 Too many arguments in function definition (7 > 5) - airflow/api_connexion/endpoints/xcom_endpoint.py:82:5: PLR0913 Too many arguments to function call (7 > 5) + airflow/auth/managers/fab/security_manager/override.py:671:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/auth/managers/fab/security_manager/override.py:671:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/auth/managers/fab/security_manager/override.py:714:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/auth/managers/fab/security_manager/override.py:714:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/callbacks/callback_requests.py:114:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/callbacks/callback_requests.py:114:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/callbacks/callback_requests.py:76:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/callbacks/callback_requests.py:76:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/cli/cli_config.py:79:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/cli/cli_config.py:79:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/cli/commands/task_command.py:160:5: PLR0913 Too many arguments in function definition (6 > 5) - airflow/cli/commands/task_command.py:160:5: PLR0913 Too many arguments to function call (6 > 5) + airflow/cli/commands/webserver_command.py:89:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/cli/commands/webserver_command.py:89:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/configuration.py:1054:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/configuration.py:1054:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/configuration.py:1075:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/configuration.py:1075:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/configuration.py:1096:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/configuration.py:1096:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/configuration.py:1118:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/configuration.py:1118:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/configuration.py:1370:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/configuration.py:1370:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/configuration.py:1603:9: PLR0913 Too many arguments in function definition (9 > 5) - airflow/configuration.py:1603:9: PLR0913 Too many arguments to function call (9 > 5) + airflow/configuration.py:1696:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/configuration.py:1696:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/configuration.py:554:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/configuration.py:554:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/configuration.py:613:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/configuration.py:613:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/configuration.py:640:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/configuration.py:640:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/dag_processing/manager.py:119:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/dag_processing/manager.py:119:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/dag_processing/manager.py:215:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/dag_processing/manager.py:215:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/dag_processing/manager.py:376:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/dag_processing/manager.py:376:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/dag_processing/processor.py:118:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/dag_processing/processor.py:118:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/dag_processing/processor.py:83:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/dag_processing/processor.py:83:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/decorators/__init__.pyi:153:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/decorators/__init__.pyi:153:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/decorators/__init__.pyi:216:9: PLR0913 Too many arguments in function definition (34 > 5) - airflow/decorators/__init__.pyi:216:9: PLR0913 Too many arguments to function call (34 > 5) + airflow/decorators/__init__.pyi:320:9: PLR0913 Too many arguments in function definition (40 > 5) - airflow/decorators/__init__.pyi:320:9: PLR0913 Too many arguments to function call (40 > 5) + airflow/decorators/__init__.pyi:436:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/decorators/__init__.pyi:436:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/decorators/__init__.pyi:99:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/decorators/__init__.pyi:99:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/decorators/base.py:192:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/decorators/base.py:192:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/decorators/task_group.py:179:5: PLR0913 Too many arguments in function definition (9 > 5) - airflow/decorators/task_group.py:179:5: PLR0913 Too many arguments to function call (9 > 5) + airflow/executors/base_executor.py:151:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/executors/base_executor.py:151:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/executors/debug_executor.py:95:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/executors/debug_executor.py:95:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/jobs/backfill_job_runner.py:114:9: PLR0913 Too many arguments in function definition (18 > 5) - airflow/jobs/backfill_job_runner.py:114:9: PLR0913 Too many arguments to function call (18 > 5) + airflow/jobs/backfill_job_runner.py:432:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/jobs/backfill_job_runner.py:432:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/jobs/backfill_job_runner.py:795:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/jobs/backfill_job_runner.py:795:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/jobs/local_task_job_runner.py:81:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/jobs/local_task_job_runner.py:81:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/jobs/scheduler_job_runner.py:1302:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/jobs/scheduler_job_runner.py:1302:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/jobs/scheduler_job_runner.py:155:9: PLR0913 Too many arguments in function definition (9 > 5) - airflow/jobs/scheduler_job_runner.py:155:9: PLR0913 Too many arguments to function call (9 > 5) + airflow/kubernetes/pre_7_4_0_compatibility/pod_generator.py:375:9: PLR0913 Too many arguments in function definition (15 > 5) - airflow/kubernetes/pre_7_4_0_compatibility/pod_generator.py:375:9: PLR0913 Too many arguments to function call (15 > 5) + airflow/kubernetes/pre_7_4_0_compatibility/pod_generator.py:472:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/kubernetes/pre_7_4_0_compatibility/pod_generator.py:472:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/kubernetes/pre_7_4_0_compatibility/pod_generator.py:504:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/kubernetes/pre_7_4_0_compatibility/pod_generator.py:504:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/kubernetes/pre_7_4_0_compatibility/pod_generator_deprecated.py:124:9: PLR0913 Too many arguments in function definition (28 > 5) - airflow/kubernetes/pre_7_4_0_compatibility/pod_generator_deprecated.py:124:9: PLR0913 Too many arguments to function call (28 > 5) + airflow/kubernetes/pre_7_4_0_compatibility/secret.py:32:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/kubernetes/pre_7_4_0_compatibility/secret.py:32:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/metrics/base_stats_logger.py:55:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/metrics/base_stats_logger.py:55:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/metrics/base_stats_logger.py:94:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/metrics/base_stats_logger.py:94:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/metrics/datadog_logger.py:99:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/metrics/datadog_logger.py:99:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/metrics/otel_logger.py:229:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/metrics/otel_logger.py:229:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/metrics/statsd_logger.py:113:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/metrics/statsd_logger.py:113:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/abstractoperator.py:662:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/models/abstractoperator.py:662:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/models/baseoperator.py:1248:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/baseoperator.py:1248:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/baseoperator.py:1302:9: PLR0913 Too many arguments in function definition (9 > 5) - airflow/models/baseoperator.py:1302:9: PLR0913 Too many arguments to function call (9 > 5) + airflow/models/baseoperator.py:1477:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/baseoperator.py:1477:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/baseoperator.py:220:5: PLR0913 Too many arguments in function definition (41 > 5) - airflow/models/baseoperator.py:220:5: PLR0913 Too many arguments to function call (41 > 5) + airflow/models/baseoperator.py:735:9: PLR0913 Too many arguments in function definition (48 > 5) - airflow/models/baseoperator.py:735:9: PLR0913 Too many arguments to function call (48 > 5) + airflow/models/connection.py:103:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/models/connection.py:103:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/models/dag.py:1707:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/models/dag.py:1707:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/models/dag.py:1725:9: PLR0913 Too many arguments in function definition (16 > 5) - airflow/models/dag.py:1725:9: PLR0913 Too many arguments to function call (16 > 5) + airflow/models/dag.py:1746:9: PLR0913 Too many arguments in function definition (16 > 5) - airflow/models/dag.py:1746:9: PLR0913 Too many arguments to function call (16 > 5) + airflow/models/dag.py:1969:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/models/dag.py:1969:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/models/dag.py:2063:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/models/dag.py:2063:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/models/dag.py:2191:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/dag.py:2191:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/dag.py:2213:9: PLR0913 Too many arguments in function definition (17 > 5) - airflow/models/dag.py:2213:9: PLR0913 Too many arguments to function call (17 > 5) + airflow/models/dag.py:2323:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/models/dag.py:2323:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/models/dag.py:2670:9: PLR0913 Too many arguments in function definition (18 > 5) - airflow/models/dag.py:2670:9: PLR0913 Too many arguments to function call (18 > 5) + airflow/models/dag.py:2757:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/dag.py:2757:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/dag.py:2863:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/models/dag.py:2863:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/models/dag.py:3809:5: PLR0913 Too many arguments in function definition (33 > 5) - airflow/models/dag.py:3809:5: PLR0913 Too many arguments to function call (33 > 5) + airflow/models/dag.py:4016:5: PLR0913 Too many arguments in function definition (7 > 5) - airflow/models/dag.py:4016:5: PLR0913 Too many arguments to function call (7 > 5) + airflow/models/dag.py:432:9: PLR0913 Too many arguments in function definition (34 > 5) - airflow/models/dag.py:432:9: PLR0913 Too many arguments to function call (34 > 5) + airflow/models/dagbag.py:95:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/dagbag.py:95:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/dagrun.py:1245:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/dagrun.py:1245:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/dagrun.py:205:9: PLR0913 Too many arguments in function definition (13 > 5) - airflow/models/dagrun.py:205:9: PLR0913 Too many arguments to function call (13 > 5) + airflow/models/dagrun.py:373:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/models/dagrun.py:373:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/models/log.py:49:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/log.py:49:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/skipmixin.py:97:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/skipmixin.py:97:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/taskinstance.py:1301:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/taskinstance.py:1301:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/taskinstance.py:1447:9: PLR0913 Too many arguments in function definition (13 > 5) - airflow/models/taskinstance.py:1447:9: PLR0913 Too many arguments to function call (13 > 5) + airflow/models/taskinstance.py:1509:9: PLR0913 Too many arguments in function definition (17 > 5) - airflow/models/taskinstance.py:1509:9: PLR0913 Too many arguments to function call (17 > 5) + airflow/models/taskinstance.py:1644:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/taskinstance.py:1644:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/taskinstance.py:2011:9: PLR0913 Too many arguments in function definition (13 > 5) - airflow/models/taskinstance.py:2011:9: PLR0913 Too many arguments to function call (13 > 5) + airflow/models/taskinstance.py:2197:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/taskinstance.py:2197:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/taskinstance.py:2480:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/models/taskinstance.py:2480:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/models/taskinstance.py:2595:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/models/taskinstance.py:2595:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/models/taskinstance.py:2691:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/taskinstance.py:2691:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/taskinstance.py:2905:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/taskinstance.py:2905:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/taskinstance.py:3338:9: PLR0913 Too many arguments in function definition (15 > 5) - airflow/models/taskinstance.py:3338:9: PLR0913 Too many arguments to function call (15 > 5) + airflow/models/taskinstance.py:776:5: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/taskinstance.py:776:5: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/taskmap.py:80:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/models/taskmap.py:80:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/models/taskreschedule.py:83:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/taskreschedule.py:83:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/xcom.py:141:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/xcom.py:141:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/xcom.py:170:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/models/xcom.py:170:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/models/xcom.py:186:9: PLR0913 Too many arguments in function definition (9 > 5) - airflow/models/xcom.py:186:9: PLR0913 Too many arguments to function call (9 > 5) + airflow/models/xcom.py:314:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/xcom.py:314:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/xcom.py:357:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/xcom.py:357:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/xcom.py:373:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/xcom.py:373:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/xcom.py:428:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/xcom.py:428:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/xcom.py:467:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/models/xcom.py:467:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/models/xcom.py:485:9: PLR0913 Too many arguments in function definition (9 > 5) - airflow/models/xcom.py:485:9: PLR0913 Too many arguments to function call (9 > 5) + airflow/models/xcom.py:606:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/xcom.py:606:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/models/xcom.py:649:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/models/xcom.py:649:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/operators/bash.py:140:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/operators/bash.py:140:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/operators/datetime.py:50:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/operators/datetime.py:50:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/operators/email.py:51:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/operators/email.py:51:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/operators/generic_transfer.py:56:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/operators/generic_transfer.py:56:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/operators/python.py:166:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/operators/python.py:166:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/operators/python.py:352:9: PLR0913 Too many arguments in function definition (10 > 5) - airflow/operators/python.py:352:9: PLR0913 Too many arguments to function call (10 > 5) + airflow/operators/python.py:539:9: PLR0913 Too many arguments in function definition (16 > 5) - airflow/operators/python.py:539:9: PLR0913 Too many arguments to function call (16 > 5) + airflow/operators/python.py:790:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/operators/python.py:790:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/operators/trigger_dagrun.py:105:9: PLR0913 Too many arguments in function definition (11 > 5) - airflow/operators/trigger_dagrun.py:105:9: PLR0913 Too many arguments to function call (11 > 5) + airflow/operators/weekday.py:94:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/operators/weekday.py:94:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/providers/airbyte/operators/airbyte.py:52:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/providers/airbyte/operators/airbyte.py:52:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/providers/alibaba/cloud/hooks/analyticdb_spark.py:197:9: PLR0913 Too many arguments in function definition (12 > 5) - airflow/providers/alibaba/cloud/hooks/analyticdb_spark.py:197:9: PLR0913 Too many arguments to function call (12 > 5) + airflow/providers/alibaba/cloud/hooks/analyticdb_spark.py:260:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/providers/alibaba/cloud/hooks/analyticdb_spark.py:260:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/providers/alibaba/cloud/operators/analyticdb_spark.py:119:9: PLR0913 Too many arguments in function definition (9 > 5) - airflow/providers/alibaba/cloud/operators/analyticdb_spark.py:119:9: PLR0913 Too many arguments to function call (9 > 5) + airflow/providers/alibaba/cloud/operators/analyticdb_spark.py:178:9: PLR0913 Too many arguments in function definition (15 > 5) - airflow/providers/alibaba/cloud/operators/analyticdb_spark.py:178:9: PLR0913 Too many arguments to function call (15 > 5) + airflow/providers/alibaba/cloud/operators/oss.py:125:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/providers/alibaba/cloud/operators/oss.py:125:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/providers/alibaba/cloud/operators/oss.py:93:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/providers/alibaba/cloud/operators/oss.py:93:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/providers/amazon/aws/hooks/athena.py:86:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/providers/amazon/aws/hooks/athena.py:86:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/providers/amazon/aws/hooks/base_aws.py:459:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/providers/amazon/aws/hooks/base_aws.py:459:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/providers/amazon/aws/hooks/batch_client.py:96:9: PLR0913 Too many arguments in function definition (8 > 5) - airflow/providers/amazon/aws/hooks/batch_client.py:96:9: PLR0913 Too many arguments to function call (8 > 5) + airflow/providers/amazon/aws/hooks/dms.py:110:9: PLR0913 Too many arguments in function definition (7 > 5) - airflow/providers/amazon/aws/hooks/dms.py:110:9: PLR0913 Too many arguments to function call (7 > 5) + airflow/providers/amazon/aws/hooks/eks.py:125:9: PLR0913 Too many arguments in function definition (6 > 5) - airflow/providers/amazon/aws/hooks/eks.py:125:9: PLR0913 Too many arguments to function call (6 > 5) + airflow/providers/amazon/aws/hooks/emr.py:138:9: PLR0913 Too many arguments in function definition (7 > 5) - |
zanieb
reviewed
Oct 20, 2023
crates/ruff_linter/src/rules/pylint/rules/too_many_arguments.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Zanie Blue <[email protected]>
zanieb
approved these changes
Oct 20, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The lint checks for number of arguments in a function definition, but the message says “function call”
Test Plan
See what breaks and change the tests