From 7bb337f2824c6f3c1f19c275e15e1cd297a55dbe Mon Sep 17 00:00:00 2001 From: cosven Date: Mon, 23 Sep 2024 18:58:22 +0800 Subject: [PATCH] fix pylint --- feeluown/plugin.py | 1 + feeluown/server/data_structure.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/feeluown/plugin.py b/feeluown/plugin.py index 760ff07483..286ada9d03 100644 --- a/feeluown/plugin.py +++ b/feeluown/plugin.py @@ -32,6 +32,7 @@ class Plugin: `enable(app)` and `disable(app)` function. It can also implements `init_config(config)` and initialize its configurations. """ + # pylint: disable=too-many-positional-arguments def __init__(self, module, alias='', version='', desc='', author='', homepage='', dist_name=''): """插件对象 diff --git a/feeluown/server/data_structure.py b/feeluown/server/data_structure.py index 37c0be4275..391a963cff 100644 --- a/feeluown/server/data_structure.py +++ b/feeluown/server/data_structure.py @@ -10,7 +10,7 @@ class SessionOptions: class Request: """fuo 协议请求对象""" - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments # FIXME: maybe add a property 'stdin_content' for Request. def __init__(self, cmd, cmd_args=None, cmd_options=None, options=None,