artefactual / archivematica

Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.
http://www.archivematica.org
GNU Affero General Public License v3.0
429 stars 103 forks source link

Add mypy to pre-commit #1958

Closed replaceafill closed 4 months ago

replaceafill commented 4 months ago

Start small recommends to add the type checker and just make it run. Then type annotate existing code gradually.

This represents that first step by introducing mypy in the pre-commit configuration and fixing the initial linting errors.

Co-authored-by: Dhwani Patel dpatel@artefactual.com