Page MenuHomeSoftware Heritage

pre-commit: Fix codespell regexp related error
ClosedPublic

Authored by anlambert on Oct 27 2020, 4:42 PM.

Details

Summary

This fixes the execution of make check for swh-storage.

16:25 $ make check 
pre-commit run --all-files
Trim Trailing Whitespace.................................................Passed
Check JSON...............................................................Passed
Check Yaml...............................................................Passed
flake8...................................................................Passed
codespell................................................................Failed
- hook id: codespell
- exit code: 1

swh/storage/migrate_extrinsic_metadata.py:129: gae  ==> game, gael, gale

mypy.....................................................................Passed
check-bumped-dbversion...................................................Passed
isort....................................................................Passed
black....................................................................Passed
make: *** [../Makefile.python:28: check] Error 1

Diff Detail

Repository
rDSTO Storage manager
Branch
fix-codespell-error
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16674
Build 25709: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 25708: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D4368 (id=15445)

Rebasing onto 9645aef7ab...

First, rewinding head to replay your work on top of it...
Applying: pre-commit: Fix codespell regexp related error
Changes applied before test
commit 2ff882ebbb04ac2809e6a39a20fae35ec95c7628
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Oct 27 16:39:26 2020 +0100

    pre-commit: Fix codespell regexp related error

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

Build is green

Patch application report for D4368 (id=15446)

Rebasing onto 9645aef7ab...

Current branch diff-target is up to date.
Changes applied before test
commit 97d0b05597228056e28f42808ad0dcf00393357b
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Oct 27 16:39:26 2020 +0100

    pre-commit: Fix codespell regexp related error

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

ardumont added a subscriber: ardumont.

heh, thanks.

something something about a suggestion you made on irc last week, nice ;)

This revision is now accepted and ready to land.Oct 28 2020, 9:05 AM