Skip to content

Commit abd286e

Browse files
committed
Pylint fixes
1 parent 4a0efdd commit abd286e

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.github/workflows/install.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
os: [ubuntu-latest]
14-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
14+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1515
include:
1616
- os: ubuntu-latest
1717
python-version: "3.8"

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
run: |
2525
python -m pip install pylint setuptools
2626
python setup.py build
27-
python -m pylint --disable=no-member --verbose -E build/lib*/evdev
27+
python -m pylint --verbose -E build/lib*/evdev

evdev/events.py

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
# event type descriptions have been taken mot-a-mot from:
3838
# http://www.kernel.org/doc/Documentation/input/event-codes.txt
3939

40+
# pylint: disable=no-name-in-module
4041
from .ecodes import ABS, EV_ABS, EV_KEY, EV_REL, EV_SYN, KEY, REL, SYN, keys
4142

4243

pyproject.toml

+9
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,12 @@ filename = "pyproject.toml"
5252

5353
[[tool.bumpversion.files]]
5454
filename = "docs/conf.py"
55+
56+
[tool.pylint.'MESSAGES CONTROL']
57+
disable = """
58+
no-member,
59+
"""
60+
61+
[tool.pylint.typecheck]
62+
generated-members = ["evdev.ecodes.*"]
63+
ignored-modules= ["evdev._*"]

0 commit comments

Comments
 (0)