celery / vine

Python promises
Other
122 stars 43 forks source link

`barrier.__slots__` incorrectly defined #114

Closed adamchainz closed 1 week ago

adamchainz commented 3 weeks ago

0ce42bff76c205a7317d280ac0eb599ad8260a00 muted the Flake8 warning about __slots__ being unused, which is occurring because it’s defined within the __init__ method. The correct fix is to unindent __slots__ so that it appears within the class definition, for example see https://wiki.python.org/moin/UsingSlots

thedrow commented 2 weeks ago

Care to contribute a fix?

auvipy commented 2 weeks ago

Prospective fix https://github.com/celery/vine/pull/115