Page MenuHomeSoftware Heritage

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

Authored by douardda on Oct 18 2022, 7:15 PM.

Details

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

python: Reformat code with black 22.10.0

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).

Diff Detail

Event Timeline

Build is green

Patch application report for D8716 (id=31440)

Rebasing onto 9bf863b074...

Current branch diff-target is up to date.
Changes applied before test
commit 43b1843e1809deb5562f838b317997e86e2e4dc9
Author: David Douard <david.douard@sdfa3.org>
Date:   Tue Oct 18 18:24:46 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).

commit 6378298b228ca1230e5e9f0107bda70e9f17a624
Author: David Douard <david.douard@sdfa3.org>
Date:   Tue Oct 18 18:23:16 2022 +0200

    python: Reformat code with black 22.10.0

commit c3ff028bb7ec82adea0fb20748974a0d54568c2b
Author: David Douard <david.douard@sdfa3.org>
Date:   Tue Oct 18 18:20:51 2022 +0200

    pre-commit, tox: Bump pre-commit, black and flake8
    
    - pre-commit from 4.1.0 to 4.3.0,
    - black from 22.3.0 to 22.10.0 and
    - flake8 from 4.0.1 to 5.0.4. Also freeze flake8 dependencies.

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