Skip to content

Commit ea31c3e

Browse files
authored
Merge pull request #120 from mulkieran/remove-pyright-ignore
Remove some pyright ignores
2 parents b4c4578 + ee72e26 commit ea31c3e

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,6 @@ jobs:
6363
strategy:
6464
matrix:
6565
include:
66-
- dependencies: >
67-
bandit
68-
pylint
69-
python3-dbus
70-
python3-dbus-signature-pyparsing
71-
python3-hypothesis
72-
python3-hs-dbus-signature
73-
task: >
74-
PATH=${PATH}:/github/home/.local/bin
75-
PYTHONPATH=./src make -f Makefile lint
7666
- dependencies: >
7767
python3-dbus
7868
python3-dbus-signature-pyparsing

src/into_dbus_python/_xformer.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,9 @@ def __init__(self):
291291

292292
self.VARIANT.setParseAction(self._handle_variant)
293293

294-
self.ARRAY.setParseAction( # pyright: ignore [ reportOptionalMemberAccess ]
295-
_ToDbusXformer._handle_array
296-
)
294+
self.ARRAY.setParseAction(_ToDbusXformer._handle_array)
297295

298-
self.STRUCT.setParseAction( # pyright: ignore [ reportOptionalMemberAccess ]
299-
_ToDbusXformer._handle_struct
300-
)
296+
self.STRUCT.setParseAction(_ToDbusXformer._handle_struct)
301297

302298

303299
_XFORMER = _ToDbusXformer()

0 commit comments

Comments
 (0)