-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR updates the tooling to use [ruff](https://github.com/astral-sh/ruff) instead of multiple tools Have a look at the [ruff docs for an explanation of all the rules](https://beta.ruff.rs/docs/rules/) ### Change summary - 🧰✨ Added docformatter to pre-commit - 🧹 Formatted docstrings - 🧰👌 Replaced darglint with pydoclint - 🩹 Fixed docstring issues - 🧰✨ Added actionlint to pre-commit - 🧰👌 Replaced flake8 with ruff - 👌 Activated D ruff rule and fixed violations - 👌 Fix E741 (Ambiguous variable name: l) Error - 👌 Activated YTT, BLE, C4, T10, FA, ISC, INP, PIE, RSE, RET, ARG, PTH,… - 👌 Activated RUF ruff rule and fixed violations - 👌 Activated ERA ruff rule and fixed violations - 👌 Activated EM ruff rule and fixed violations - 👌 Activated PD ruff rule and fixed violations - 👌 Activated SIM ruff rule and fixed violations - 👌 Activated TCH ruff rule and fixed violations - 👌 Activated T20 ruff rule and fixed violations - 👌 Activated PT ruff rule and fixed violations - 👌 Activated PGH ruff rule and fixed violations - 👌 Activated N ruff rule and fixed violations - 👌 Activated B ruff rule and fixed violations - 👌 Activated UP ruff rule, fixed violations and removed pyupgrade hook - 🧹 Removed yesqa hook since this is handeled by RUF007 - 🧰 Pin and update pydoclint - 🧹 Updated pre-commit config and fixed issues - 🧰⬆️ Update pydoclint from 0.0.10 to 0.0.16 and fixed issues - 🩹🧪 Fix exception test to use new typing syntax - 🧹 Use modern typing after rebase - 🧰⬆️ Update pre-commit config to use latest versions - 📚👌 Added ruff and isort badges to readme - 🚇 Add py311 to CI unittest matrix ### Checklist - [x] ✔️ Passing the tests (mandatory for all PR's)
- Loading branch information
Showing
36 changed files
with
524 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.