Skip to content

Commit 80791e8

Browse files
committed
https://github.com/pylint-dev/pylint/issues/9099
1 parent 419eade commit 80791e8

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

metabot/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def _handler(request, unused_context):
7979
# pylint: disable=too-many-arguments
8080
def raw_message(self,
8181
text,
82+
*,
8283
user_id=1000,
8384
chat_type='private',
8485
forward_date=None,

metabot/modules/reminders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def diff_events(multibot, tzinfo, base, lastevents, events): # pylint: disable=
277277
return edits
278278

279279

280-
def _diff_time(laststart, lastend, curstart, curend, tzinfo, base): # pylint: disable=too-many-arguments,too-many-locals,too-many-return-statements
280+
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
281281
laststartdt = datetime.datetime.fromtimestamp(laststart, tzinfo)
282282
lastenddt = datetime.datetime.fromtimestamp(lastend, tzinfo)
283283
curstartdt = datetime.datetime.fromtimestamp(curstart, tzinfo)

metabot/util/adminui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class Frame:
1212
"""The current position (and related state) within a hierarchical message."""
1313

14-
def __init__(self, ctx, msg, parent, field, desc, text): # pylint: disable=too-many-arguments
14+
def __init__(self, ctx, msg, parent, field, desc, text): # pylint: disable=too-many-arguments,too-many-positional-arguments
1515
self.ctx = ctx
1616
self.msg = msg
1717
self.parent = parent.get('issue37') or parent

metabot/util/yamlutil.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class _SimplifyingDumper(yaml.emitter.Emitter, yaml.serializer.Serializer, _Simp
4040
# pylint: disable=too-many-arguments,too-many-locals
4141
def __init__(self,
4242
stream,
43+
*,
4344
default_style=None,
4445
default_flow_style=False,
4546
canonical=None,

0 commit comments

Comments
 (0)