Page MenuHomeSoftware Heritage

Exclude highlightjs test files from Black
ClosedPublic

Authored by vlorentz on Jul 12 2022, 12:32 PM.

Details

Summary

Black reforms word2vec.ipynb otherwise (or complains the ipynb is not
installed)

Diff Detail

Repository
rDWAPPS Web applications
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 D8113 (id=29305)

Could not rebase; Attempt merge onto 4e388ee956...

Updating 4e388ee9..78024a5c
Fast-forward
 pyproject.toml                           |  1 +
 requirements-swh.txt                     |  2 +-
 swh/web/tests/api/views/test_metadata.py | 29 +++++++++--------------------
 3 files changed, 11 insertions(+), 21 deletions(-)
Changes applied before test
commit 78024a5cad824189c399fe7b6428b577134c53e4
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Jul 12 12:31:15 2022 +0200

    Exclude highlightjs test files from Black
    
    Black reforms `word2vec.ipynb` otherwise (or complains the ipynb is not
    installed)

commit e61a0dbb76ca67f31b2c84eec62d5fd3b5a22b07
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Tue Jul 12 11:58:08 2022 +0200

    test_metadata: Reuse swh-model's raw_extrinsic_metadata() strategy
    
    It now allows setting custom strategies as 'target'

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

This revision is now accepted and ready to land.Jul 12 2022, 1:16 PM