Page MenuHomeSoftware Heritage

web_scenario: Silence type warnings when using requests-mock
ClosedPublic

Authored by vlorentz on May 11 2021, 12:19 PM.

Details

Summary

requests-mock 1.9.0 added stub files; but they are incomplete so it raises
typing error when running mypy on code using advanced features.

Diff Detail

Repository
rDICP Icinga plugins
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 21468
Build 33351: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 33350: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D5737 (id=20494)

Rebasing onto 8878925a6c...

Current branch diff-target is up to date.
Changes applied before test
commit db1be8b000ad19c847f0df66055bb9859ff7aa44
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue May 11 12:19:13 2021 +0200

    web_scenario: Silence type warnings when using requests-mock
    
    requests-mock 1.9.0 added stub files; but they are incomplete so it raises
    typing error when running mypy on code using advanced features.

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

This revision is now accepted and ready to land.May 11 2021, 12:25 PM