mjg59 / python-broadlink

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs
MIT License
1.38k stars 479 forks source link

Fix flake8 tests #622

Closed felipediel closed 2 years ago

felipediel commented 2 years ago

Context

Flake8 tests started giving false positives recently. We are getting the same error for all PRs:

flake8: error: unrecognized arguments: --inline-quotes double

The flake8-quotes dependency is not being installed correctly before testing, hence the error. This module requires the wheel installed first.

Proposed change

Install the wheel, remove wemake-python-styleguide dependency and install flake8-quotes explicitly in the Flake8 tests.