Page MenuHomeSoftware Heritage

Add a pre-commit config file
ClosedPublic

Authored by douardda on Tue, Feb 16, 10:38 AM.

Details

Summary

Blackify, isort and fix code spells reported by pre-commit hooks

Diff Detail

Repository
R222 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

douardda created this revision.
vlorentz added inline comments.
.pre-commit-config.yaml
29

that's no excuse for a new package!

add missing isort config in pyproject.toml

.pre-commit-config.yaml
29

I guess you are right... stupid copy/paste

.pre-commit-config.yaml
29

actually it's probably not an excuse for other packages either, since this is checked against modified stuff only... probably a good thing to activate everywhere to have a chance of converging (aka have docstrings more or less everywhere) in a finite time...

ad forgotten isorts (after proper config in pyproject.toml)

This revision is now accepted and ready to land.Thu, Feb 18, 10:59 AM