run pre-commit on all files (#1789)

pre-commit.ci has been disabled for a while.
This PR ensures that all the files has been validated/formatted by pre-commit, to avoid spurious diffs in subsequent PRs.

During the process, ruff broke the code because it removed an "unused" import which was actually used.
A linter which breaks my code is a linter which I cannot trust, so I just removed it. I re-enabled isort instead.
This commit is contained in:
Antonio Cuni
2023-10-05 13:10:31 +00:00
committed by GitHub
parent d5b6935c0b
commit 4256a81653
16 changed files with 36 additions and 57 deletions

View File

@@ -2,7 +2,7 @@ import re
import pytest
from .support import PyScriptTest, skip_worker, only_main
from .support import PyScriptTest, only_main, skip_worker
class TestBasic(PyScriptTest):