-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unused variables and constants #432
Comments
+1, there are rather a lot of unused imports. Our custom coding style prevented us adding an automated linter like black in the past and, frankly, likely prevented anyone from putting in the effort to use another less opinionated linter. We do have an old issue about linting at least new files #243 however, we didn't get much further than running mypy against new files. |
I think we should just move over to standard coding style enforced by common linters, TBH, not easy to follow and check for a custom style |
FYI: To make review of #439 as easy as possible, I just disabled pylint for all lines that were flagged by adding To fix this issue here, I suggest to
|
* unused-variable: remove variables altogether or name them "_". * unused-import: remove import * consider-using-from-import: Use from-import * Remove version checks for python <=3.3 There are some very minor import order changes: I expect no functionality changes. Fixes secure-systems-lab#432
* unused-variable: remove variables altogether or name them "_". * unused-import: remove import * consider-using-from-import: Use from-import * Remove version checks for python <=3.3 There are some very minor import order changes: I expect no functionality changes. Fixes secure-systems-lab#432
Description of issue or feature request:
There are unused variables and constants everywhere. We should add a linter to catch them.
The text was updated successfully, but these errors were encountered: