nat-n / poethepoet

A task runner that works well with poetry.
https://poethepoet.natn.io/
MIT License
1.39k stars 56 forks source link

Fixes Windows error message due to incorrect type comparison. #205

Closed BertrandBordage closed 5 months ago

BertrandBordage commented 5 months ago

On Windows, I only see Some dependencies may be missing from your system. even though the value of config_value is ('posix',). This is because the type comparison is wrong, it checks that the tuple ('posix',) is in ('posix', 'bash'), instead of checking the string posix.

This PR fixes it by doing a set subset check.

nat-n commented 5 months ago

Hey @BertrandBordage, thanks for the contribution!