HomeSoftware Heritage

Apply black formatting to Python code and add pre-commit hook

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Apply black formatting to Python code and add pre-commit hook

  • reformat the whole swh-web Python codebase using black tool
  • add pre-commit hook to run black on all changed files
  • update flake8 configuration to match black code style
  • remove a lot of useless '# noqa' comments after new formatting
  • add black processing in tox

Details

Provenance
anlambertAuthored on Apr 8 2020, 5:22 PM
anlambertPushed on Apr 8 2020, 6:21 PM
Build Status
Buildable 11712
Build 17761: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.