Revert "[pre-commit.ci] pre-commit autoupdate (#8872)"#8878
Revert "[pre-commit.ci] pre-commit autoupdate (#8872)"#8878CaedenPH wants to merge 1 commit intoTheAlgorithms:masterfrom
Conversation
This reverts commit 5aefc00.
|
|
||
| - repo: https://github.com/astral-sh/ruff-pre-commit | ||
| rev: v0.0.278 | ||
| rev: v0.0.277 |
There was a problem hiding this comment.
| rev: v0.0.277 | |
| rev: v0.0.280 |
And then disable individual rules in pyproject.toml preferably in per-file-ignores.
|
|
||
| - repo: https://github.com/psf/black | ||
| rev: 23.7.0 | ||
| rev: 23.3.0 |
|
@cclauss The rules that are newly implemented seem like good rules. For example, one of the rules states that there can not be more than 20 if/else branches, which is a good rule, and fails on This is a revert pr, so the whole idea is to go back to a working version. If we do not want to do that, I can work on a pull request fixing all the ruff changes instead. |
Look at #8877 for info
This reverts commit 5aefc00.
Reverts #8872
Breaks many algorithms as shown in these failing tests (from this pr #8875) https://github.com/TheAlgorithms/Python/actions/runs/5629561962/job/15254651560?pr=8875
Checklist: