-
Notifications
You must be signed in to change notification settings - Fork 144
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
Fixed pylint errors #644
Fixed pylint errors #644
Conversation
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
I'm not sure if you have fixed all the issues, but I suggest enabling this line to enforce in lint job in CI: and removing this line: https://github.com/mathisrichter/lava/blob/d5d00632fef9c8adbd4b7a8167074436fec87e71/pyproject.toml#L177 |
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
This reverts commit 8dc55a3.
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
…r/lava into no_argument_methods
Signed-off-by: Mathis Richter <[email protected]>
Signed-off-by: Mathis Richter <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of renaming, nothing too controversial.
* Refactoring methods without arguments into functions. Signed-off-by: Mathis Richter <[email protected]> * Raising ValueError instead of str. Signed-off-by: Mathis Richter <[email protected]> * Defining members before use. Signed-off-by: Mathis Richter <[email protected]> * Fixed pylint error about non-callable variable. Signed-off-by: Mathis Richter <[email protected]> * Fixed deprecation warning. Signed-off-by: Mathis Richter <[email protected]> * Defined members before use. Signed-off-by: Mathis Richter <[email protected]> * Removed unused imports. Signed-off-by: Mathis Richter <[email protected]> * Removed unused variables. Signed-off-by: Mathis Richter <[email protected]> * Removed unnecessary pass statements. Signed-off-by: Mathis Richter <[email protected]> * Fixed attributes defined outside __init__. Signed-off-by: Mathis Richter <[email protected]> * Activated linting checks in poetry. Signed-off-by: Mathis Richter <[email protected]> * Revert "Refactoring methods without arguments into functions." This reverts commit 8dc55a3. * Deactivated flake8 plugins for now. Signed-off-by: Mathis Richter <[email protected]> * Fixed shadowing of built-in variable names. Signed-off-by: Mathis Richter <[email protected]> * Fixed reimported modules. Signed-off-by: Mathis Richter <[email protected]> * Explicitly disabling plugins again. Signed-off-by: Mathis Richter <[email protected]> * Fixed pointless string statement errors. Signed-off-by: Mathis Richter <[email protected]> * Fixed linter errors for abstract methods. Signed-off-by: Mathis Richter <[email protected]> * Fixed renamed arguments. Signed-off-by: Mathis Richter <[email protected]> * Fixed calling init method of non-parent class. Signed-off-by: Mathis Richter <[email protected]> * Fixed unit tests. Signed-off-by: Mathis Richter <[email protected]> * Ignored linter errors with subprocess module. Signed-off-by: Mathis Richter <[email protected]> * Ignored linter error about renamed variable. Signed-off-by: Mathis Richter <[email protected]> * Added a description on linter ignore. Signed-off-by: Mathis Richter <[email protected]> * Ignored arguments-differ linter error. Signed-off-by: Mathis Richter <[email protected]> * Fixed unused-variable linter error. Signed-off-by: Mathis Richter <[email protected]> * Fixed linter errors. Signed-off-by: Mathis Richter <[email protected]> * Reverted linter changes in runtime to fix unit tests in lava-loihi. Signed-off-by: Mathis Richter <[email protected]> * Fixed remark issues in Markdown files. Signed-off-by: Mathis Richter <[email protected]> * Fixed remark issues in Markdown files. Signed-off-by: Mathis Richter <[email protected]> * Fixed remark issues in Markdown files. Signed-off-by: Mathis Richter <[email protected]> --------- Signed-off-by: Mathis Richter <[email protected]>
Issue Number:
Objective of pull request:
Pull request checklist
Your PR fulfills the following requirements:
flakeheaven lint src/lava tests/
) and (bandit -r src/lava/.
) pass locallypytest
) passes locallyPull request type
Please check your PR type:
What is the current behavior?
What is the new behavior?
Does this introduce a breaking change?
Supplemental information