quix-streams icon indicating copy to clipboard operation
quix-streams copied to clipboard

Lint code with Ruff in pre-commit hooks and CI/CD

Open daniil-quix opened this issue 1 year ago • 0 comments

To improve the code quality, trigger Ruff linter from the pre-commit hooks and CI/CD.

What to do

  1. Add Ruff config to pyproject.toml.
  2. Extend the default Ruff rules with SLF subset.
  3. ruff should check only code in quixstreams and tests packages
  4. Run ruff check and fix the issues
  5. Add a trigger to pre-commit hooks
  6. Trigger ruff check from CI/CD

daniil-quix avatar May 06 '24 09:05 daniil-quix