We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6db46 commit 8f2f9f5Copy full SHA for 8f2f9f5
.pre-commit-config.yaml
@@ -18,7 +18,7 @@ repos:
18
- id: end-of-file-fixer
19
- id: trailing-whitespace
20
- repo: https://github.com/pycqa/pylint
21
- rev: v2.17.4
+ rev: v3.2.7
22
hooks:
23
- id: pylint
24
name: pylint (library code)
adafruit_hid/keyboard.py
@@ -10,15 +10,15 @@
10
"""
11
12
from micropython import const
13
-import usb_hid
14
15
from .keycode import Keycode
16
17
from . import find_device
try:
from typing import Sequence
-except: # pylint: disable=bare-except
+ import usb_hid
+except ImportError:
pass
_MAX_KEYPRESSES = const(6)
0 commit comments