Page MenuHomeSoftware Heritage

pre-commit, tox: Bump pre-commit, codespell, black and flake8
ClosedPublic

Authored by douardda on Oct 18 2022, 8:16 PM.

Details

Summary
  • pre-commit from 4.1.0 to 4.3.0,
  • codespell from 2.2.1 to 2.2.2,
  • black from 22.3.0 to 22.10.0 and
  • flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies.

Also change flake8's repo config to github (the gitlab mirror
being outdated).

Diff Detail

Repository
rDPROV Provenance database
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Draft.Oct 18 2022, 8:17 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

Build was aborted

Patch application report for D8741 (id=31501)

Rebasing onto 022b6f7661...

Current branch diff-target is up to date.
Changes applied before test
commit 60c5a5c463ece97f9a909530dab2177e39d434bb
Author: David Douard <david.douard@sdfa3.org>
Date:   Tue Oct 18 20:12:40 2022 +0200

    pre-commit, tox: Bump pre-commit, codespell, black and flake8
    
    - pre-commit from 4.1.0 to 4.3.0,
    - codespell from 2.2.1 to 2.2.2,
    - black from 22.3.0 to 22.10.0 and
    - flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies.
    
    Also change flake8's repo config to github (the gitlab mirror
    being outdated).

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/703/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/703/console