robot-control-stack icon indicating copy to clipboard operation
robot-control-stack copied to clipboard

Generated stub files cause lint error

Open pkrack opened this issue 2 years ago • 1 comments

Cf. PR #31 Either prevent the typing import from ending up in the stub file if it is not used, or do not check for unused imports in the pylint workflow.

pkrack avatar Apr 12 '24 11:04 pkrack

The command make stubgen runs isort and black after the stub generation which should remove unused imports.

Edit: Or if they dont, perhaps we can configure black such that it does remove unused imports.

juelg avatar Apr 12 '24 11:04 juelg