The .pre-commit-config.yaml has also been edited to ignore TYP101
errors in flake8 (missing type annotations for self in methods)
References T2258For annotating classes and methods in `swh/indexer/indexer.py`, `swh/indexer/metadata.py`, `swh/indexer/mimetype.py`, `swh/indexer/origin_head.py` and `swh/indexer/rehash.py`.