github-dependents-info icon indicating copy to clipboard operation
github-dependents-info copied to clipboard

ci/lint: switch mega-linter with pre-commit & Ruff

Open Borda opened this issue 2 months ago • 1 comments

Description

The pre-commit has already been in use, so lifting all linter to this single place makes the developer navigation much easier... As passing over all used Liters, a few already deprecated them themselves in favor of Ruff, so merging all lining also to Ruff, which is all-in-one tool for lining and formatting

Related Issue

Closes #576

Type of Change

  • [ ] 📚 Examples / docs / tutorials / dependencies update
  • [ ] 🔧 Bug fix (non-breaking change which fixes an issue)
  • [x] 🥂 Improvement (non-breaking change which improves an existing feature)
  • [ ] 🚀 New feature (non-breaking change which adds functionality)
  • [ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] 🔐 Security fix

Checklist

  • [x] I've read the CODE_OF_CONDUCT.md document.
  • [x] I've read the CONTRIBUTING.md guide.
  • [ ] I've updated the code style using make codestyle.
  • [ ] I've written tests for all new methods and classes that I created.
  • [ ] I've written the docstring in Google format for all the methods and classes that I used.

cc: @nvuillam

Borda avatar Apr 28 '24 23:04 Borda