Page MenuHomeSoftware Heritage

tests/resources: Fix mypy 0.800 errors
ClosedPublic

Authored by anlambert on Jan 26 2021, 5:15 PM.

Details

Summary

Fix new errors appeared since mypy 0.800 release in a Python file
used by the cypress tests to check code highlighting.

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 18776
Build 29073: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 29072: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4952 (id=17637)

Rebasing onto 4e712e70f3...

Current branch diff-target is up to date.
Changes applied before test
commit ab5401d73db1010af0d16b014baa8a8897a1ccea
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Jan 26 17:11:46 2021 +0100

    tests/resources: Fix mypy 0.800 errors
    
    Fix new errors appeared since mypy 0.800 release in a Python file
    used by the cypress tests to check code highlighting.

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

ardumont added a subscriber: ardumont.

lgtm

(i don't know why or if it's sensible that the decorator got dropped though ;)

This revision is now accepted and ready to land.Jan 26 2021, 5:35 PM