Add more type hints, fix some type errors, and clean up some strings
- Oct 26, 2024
-
-
-
config.sudo_timer is a bool, and the returned value here is a bool. No point in converting it to a str.
-
I don't think there's any case where the number of jobs would have to be a string. It's also being assigned an integer elsewhere the code (in ask_for_additional_options() inside of init.py), so an integer seems like what we actually want. Also fix type errors resulting of this.
-
These are artefacts from when our line length was shorter. Ruff didn't really do a great job at fixing them up when autoformatting.
-
-