I just switched from Generic[…]-Syntax to python3.12 generics (mostly motivated by S6792 btw ) and SonarQube (Community-Version v10.6) now triggers a ton of python:S5644, telling me that e.g. WorkerProcess does not have a getitem method.
Code example:
class WorkerProcess[Item]:
pass
class ExampleWorker(WorkerProcess[tuple[str, int]]): # triggers python:S5644
pass
a = WorkerProcess[str]() # triggers python:S5644