Page MenuHomeSoftware Heritage

Add a pre-commit config file
ClosedPublic

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

Details

Summary

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

Diff Detail

Repository
rDPROV Provenance database
Branch
pre-commit
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 19251
Build 29858: arc lint + arc unit

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.Feb 18 2021, 10:59 AM