Closed a-corni closed 7 months ago
@a-corni you should likely use MyPy v1.6.1 in order to make the tests pass.
@a-corni you should likely use MyPy v1.6.1 in order to make the tests pass.
MyPy version is kept at 1.2... I will keep investigating 🔍
The error seems to be coming from the module referencing. They made a new release on Nov. 14th and the error shown (see below) points directly to it according to this issue on mypy
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/referencing/jsonschema.py:499: error: Invalid "type: ignore" comment [syntax]
I have followed what the mypy developpers suggested there: Add to mypy.ini:
[mypy-discord.*] follow_imports = skip
But this does not seem to have changed anything - which is weird, it should have deleted the error messages coming from referencing...
The error seems to be coming from the module referencing. They made a new release on Nov. 14th and the error shown (see below) points directly to it according to this issue on mypy
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/referencing/jsonschema.py:499: error: Invalid "type: ignore" comment [syntax]
I have followed what the mypy developpers suggested there: Add to mypy.ini:
[mypy-discord.*] follow_imports = skip
But this does not seem to have changed anything - which is weird, it should have deleted the error messages coming from referencing...
Solved by using skip
instead of silent
(it makes a difference in the end)
Making a hot fix to enable the use of parametrized phase in eom mode.