Replace isort and black with ruff (#17620)

Ruff now has decent parity with black and isort, so this is going to just save us a bunch of time
This commit is contained in:
Quentin Gliech
2024-08-30 10:07:46 +02:00
committed by GitHub
parent 89801e04ca
commit cdd5979129
11 changed files with 56 additions and 440 deletions

View File

@@ -27,7 +27,9 @@ from synapse.types import ISynapseReactor
try:
from twisted.internet.epollreactor import EPollReactor as Reactor
except ImportError:
from twisted.internet.pollreactor import PollReactor as Reactor # type: ignore[assignment]
from twisted.internet.pollreactor import ( # type: ignore[assignment]
PollReactor as Reactor,
)
from twisted.internet.main import installReactor