Improve code formatting - `ruff` and `mypy`
Closed this issue · 1 comments
Ce11an commented
As per the discussion on #39, we can implement ruff for code formatting in addition to black. The proposed ruff configuration is as follows:
- isort, which is compatible with black
- pydocstyle, with a preference for Google style but open to suggestions
- flake8
- By using ruff, we won't need the .flake8 file. Additionally, ruff works well with pre-commit hooks.
We should also include mypy for type-checking in the project.
Please let me know your thoughts. Thank you 😄
AlexFrid commented
This all sounds good, closing this issue as the PR for the suggested changes has been merged