pytransitions / transitions

A lightweight, object-oriented finite state machine implementation in Python with many extensions
MIT License
5.48k stars 525 forks source link

Add `--strict` to mypy check and add test for imports #667

Closed aleneum closed 1 month ago

aleneum commented 1 month ago

This fixes #620 and improves typing for downstream packages using strict type checking

coveralls commented 1 month ago

Coverage Status

coverage: 98.523%. remained the same when pulling a0639a43c30cbf7df1e7290a4cd3a19b1f60d880 on fix-#620 into f0dcaf6fd641241705b2cd81cfb7720dd3002e1e on master.