Skip to content

Commit

Permalink
https://github.com/pylint-dev/pylint/issues/9099
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlorg committed Nov 14, 2024
1 parent 419eade commit 80791e8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions metabot/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def _handler(request, unused_context):
# pylint: disable=too-many-arguments
def raw_message(self,
text,
*,
user_id=1000,
chat_type='private',
forward_date=None,
Expand Down
2 changes: 1 addition & 1 deletion metabot/modules/reminders.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def diff_events(multibot, tzinfo, base, lastevents, events): # pylint: disable=
return edits


def _diff_time(laststart, lastend, curstart, curend, tzinfo, base): # pylint: disable=too-many-arguments,too-many-locals,too-many-return-statements
def _diff_time(laststart, lastend, curstart, curend, tzinfo, base): # pylint: disable=too-many-arguments,too-many-locals,too-many-positional-arguments,too-many-return-statements
laststartdt = datetime.datetime.fromtimestamp(laststart, tzinfo)
lastenddt = datetime.datetime.fromtimestamp(lastend, tzinfo)
curstartdt = datetime.datetime.fromtimestamp(curstart, tzinfo)
Expand Down
2 changes: 1 addition & 1 deletion metabot/util/adminui.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class Frame:
"""The current position (and related state) within a hierarchical message."""

def __init__(self, ctx, msg, parent, field, desc, text): # pylint: disable=too-many-arguments
def __init__(self, ctx, msg, parent, field, desc, text): # pylint: disable=too-many-arguments,too-many-positional-arguments
self.ctx = ctx
self.msg = msg
self.parent = parent.get('issue37') or parent
Expand Down
1 change: 1 addition & 0 deletions metabot/util/yamlutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class _SimplifyingDumper(yaml.emitter.Emitter, yaml.serializer.Serializer, _Simp
# pylint: disable=too-many-arguments,too-many-locals
def __init__(self,
stream,
*,
default_style=None,
default_flow_style=False,
canonical=None,
Expand Down

0 comments on commit 80791e8

Please sign in to comment.