HomeSoftware Heritage

Add a pre-commit config file

Description

Add a pre-commit config file

and document it briefly in the README file.

This comes with a few checkers:

  • flake8
  • trailing-whitespace
  • check-json
  • check-yaml
  • codespell

Also include commented checkers:

  • black: disabled since we are not ready for this yet,
  • pydocstyle: disabled since we have way too many pydoctyle errors for now...

See https://pre-commit.com/ for more details.

Related to T1881.

Details

Provenance
douarddaAuthored on Jul 5 2019, 4:28 PM
douarddaPushed on Jul 10 2019, 10:45 AM
Differential Revision
D1705: Add a pre-commit config file
Parents
rDCORE9812fe7ed221: README: add a very short development setup guide
Branches
Unknown
Tags
Unknown
Build Status
Buildable 6752
Build 9437: test-and-build