Skip to content

Commit

Permalink
Adjust for pylint update
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Dec 17, 2024
1 parent e228831 commit 1a2b0ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ max-public-methods=20
# Maximum number of boolean expressions in a if statement
max-bool-expr=5

max-positional-arguments=7


[IMPORTS]

Expand Down
4 changes: 2 additions & 2 deletions qubesctap/client/uhid.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ class UHIDDevice:
# (function `get_device_string` in both cases).
bus = BUS.BLUETOOTH

def __init__(self, name=None, serial=None, vendor=None, product=None,
version=None, bus=None, phys=None, country=None, rdesc=None, *,
def __init__(self, *, name=None, serial=None, vendor=None, product=None,
version=None, bus=None, phys=None, country=None, rdesc=None,
loop=None):
# pylint: disable=too-many-arguments
self.log = logging.getLogger(type(self).__name__)
Expand Down
3 changes: 2 additions & 1 deletion qubesctap/ctap2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
(June 21, 2022)
"""
from dataclasses import dataclass, fields, Field
from typing import Optional, Any, Mapping, List, Iterable, Hashable, Dict
from typing import Optional, Any, Mapping, List, Iterable, Dict
from collections.abc import Hashable

from fido2 import cbor
from fido2.ctap import CtapError
Expand Down

0 comments on commit 1a2b0ac

Please sign in to comment.