interactions.py
interactions.py copied to clipboard
refactor: drastically improve mypy compatibility
About
This pull request fixes errors that mypy brings up.
(Draft until somewhen)
Checklist
- [x] The
pre-commitcode linter has been run over all edited files to ensure the code is linted. - [x] I've ensured the change(s) work on
3.8.6and higher.
I've made this pull request: (check all that apply)
- [ ] For the documentation
- [ ] To add a new feature
- [x] As a general enhancement
- [x] As a refactor of the library/the library's code
- [ ] To fix an existing bug
- [ ] To resolve #ISSUENUMBER
This is:
- [ ] A breaking change
only 994 errors to go (without strict set a mypy flag)
honestly fuck this shit im out