HistoryManager: Typing, Linting

2 jobs for master in 25 seconds (queued for 10 seconds)
latest
Status Job ID Name Coverage
  Test
failed #23459
code-quality

00:00:19

 
  Build
passed #23461
windows

00:00:05

 
Name Stage Failure
failed
code-quality Test
gajim/history_manager.py:426: error: Item "None" of "Optional[Any]" has no attribute "get_value"
gajim/history_manager.py:430: error: Item "None" of "Optional[Any]" has no attribute "get_value"
Found 4 errors in 1 file (checked 216 source files)
Uploading artifacts for failed job
Uploading artifacts...
WARNING: coverage.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1