/test/generic/pre_commit mypy

What happens

I been trying to make a commit, but the /test/generic/pre_commit job fails every time.

What do you understand or find about that problem

From what I understand and from what I’ve looked for the problem is the zipfile.py file.

Did you try any workaround? What did you do?

This file uses three functions, originally, the functions needed the *args to work correctly, but the /test/generic/pre_commit job fails for that wildcard. So I deleted the wildcard but now the mypy hook fails for the wrongly defined functions (because they don’t have the wildcard, or so I understand).


This is the pipeline:


And this is the python script


I need help with

I need help in fixing the hook that is failing, thanks.


You can check how to fix this problem on this page: