Page MenuHomeSoftware Heritage

Fix mypy false positive
ClosedPublic

Authored by vlorentz on Mon, Jul 18, 4:05 PM.

Details

Summary

'document' is a typed dict, which mypy does not seem to allow here

Diff Detail

Repository
rDSEA Archive search
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8128 (id=29360)

Rebasing onto c847e9bbb0...

Current branch diff-target is up to date.
Changes applied before test
commit 12530b63898252cafa732e6b537b763a0173eeb8
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Mon Jul 18 16:05:42 2022 +0200

    Fix mypy false positive
    
    'document' is a typed dict, which mypy does not seem to allow here

See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/333/ for more details.

This revision is now accepted and ready to land.Mon, Jul 18, 4:53 PM
This revision was automatically updated to reflect the committed changes.