[MRG] pre-commit with ruff,codespell,yamlint by rflamary · Pull Request #681 · PythonOT/POT

Types of changes

This very large PR introduce a new style for the coe thta follow ruff formating with a fats pre-commit that will hopfully avoid "pep8" cmmts in the PRs in the future

Currently implements:

  • Ruff Lint (for main code and tetss/exmaples and doc)
  • Codespell (found many typos)
  • yamllint

Motivation and context / Related issue

How has this been tested (if it applies)

PR checklist

  • I have read the CONTRIBUTING document.
  • The documentation is up-to-date with the changes I made (check build artifacts).
  • All tests passed, and additional code has been covered with new tests.
  • I have added the PR and Issue fix to the RELEASES.md file.