Strict type checking on mypy
doesn't work with Pycord
#2504
Labels
unconfirmed bug
A bug report that needs triaging
mypy
doesn't work with Pycord
#2504
Summary
Using
mypy --strict
with Pycord seems to cause severe type checking issuesReproduction Steps
pip install mypy py-cord
main.py
, with the following content:mypy main.py
, and see no errors:mypy --strict main.py
, and seemypy
start to freak out:Minimal Reproducible Code
No response
Expected Results
When
--strict
is used, no errors should be thrown.Actual Results
When
--strict
is used, unclear errors are thrown.Intents
N/A
System Information
Checklist
Additional Context
I'm not positive if it's related, but just running
mypy -p discord
from within the same virtual environment is showingThe text was updated successfully, but these errors were encountered: