This PR adds pre-commit configuration. I have opted to use ruff as the linter, open to alternatives. Reason for choosing ruff over flake8, black is that it is one tool that combines most Python autoformatting and linting functions in one and is very fast.
This PR adds pre-commit configuration. I have opted to use
ruff
as the linter, open to alternatives. Reason for choosingruff
overflake8
,black
is that it is one tool that combines most Python autoformatting and linting functions in one and is very fast.