Skip to content

Conversation

@duck-master
Copy link
Contributor

This commit fixes all the remaining mypy type errors as well as most of the "#type: ignore" comments. There is one comment left over which I'd still need to get to, and the UnionOfDifferentThings and Course typings are inherently pretty loose. However, fixing the latter will probably require reforming the type system repo-wide (including synchronizing with the frontend), and I'm not sure I want to stomach that right now.

@dtemkin1
Copy link
Collaborator

Idk how I feel about changing Hydrant to require older + deprecated packages and version of Python? If anything, it might be better if we figure out how to set up the scripts server to use a modern version of Python

@duck-master
Copy link
Contributor Author

@dtemkin1 This is complicated because when I cut out the branch, ci.yml existed and ci-backend.yml and ci-frontend.yml did not. I don't feel like rebasing, so I'll make a new PR to update the python version in CI instead (probably to 3.11 since that's most convenient for me). In the meantime, you should update the Python version that we use in prod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants