CiwPython / Ciw

Ciw is a simulation library for open queueing networks.
http://ciw.readthedocs.io
MIT License
146 stars 42 forks source link

Type annotations for seed. #225

Closed galenseilis closed 2 weeks ago

galenseilis commented 7 months ago

Added the integer and NoReturn types. Added comments indicating that NoReturn should be changed to Never in the future. Added PARAMETERS.

geraintpalmer commented 3 months ago

Not merging for now. I am unsure about

# TODO: Rename `seed` to `set_seed` and `z` to `seed` or `random_seed`.

I understand why, but this is only an aesthetic change which would render some code not-back-compatible, and I do not want to commit to that needlessly at this point.