Mac-Coleman / CSC-311-Scheduling-Algorithms

A process scheduling simulator written in Python for class
0 stars 1 forks source link

Typehinting fixes #24

Closed Mac-Coleman closed 1 year ago

Mac-Coleman commented 1 year ago

This pull request is to fix broken typehints in the project, as well as add configuration files for mypy. Mypy can now be used to statically check the type safety of the project. As laid out in pyproject.toml, mypy is set to strict mode, so every function must have type hints. Previously I was not aware that python type hints were basically just comments without a linter like mypy.

The .gitignore has also been updated to ignore the .mypy_cache directory.