Skip to content

Pylint fix#398

Merged
PraveenPenguin merged 5 commits into
masterfrom
pylint_fix
Jul 2, 2026
Merged

Pylint fix#398
PraveenPenguin merged 5 commits into
masterfrom
pylint_fix

Conversation

@PraveenPenguin

Copy link
Copy Markdown
Collaborator

No description provided.

Removed pylinit check for absolute python version

Signed-off-by: Praveen K Pandey <praveen@linux.ibm.com>
Enabled couple of more python version

Signed-off-by: Praveen K Pandey <praveen@linux.ibm.com>
Enabled pylint rules in push and pull changes

Signed-off-by: Praveen K Pandey <praveen@linux.ibm.com>
avocado-setup.py:
- E0606: initialize driver_name=None before for loop
- E0602: add pylint disable comment on globals() assignments
- E225/E302/E305/E201/E203/E275/E128/E211: fix spacing around
 operators, blank lines, dict comprehensions, if/continuation indent

lib/helper.py:
- E231: add missing space after comma in PipMagager.__init__ args
- E261: fix inline comment spacing (single to double space)
- E303: remove extra blank line before RemoteRunner class

lib/pci.py:
- E502: remove redundant backslash in list comprehension
- E127: fix continuation line indentation
- E302: add blank line before is_sriov()
- E0602: define NWException class (was used but never defined)

lib/hmc.py:
- E221: remove multiple spaces before = operator

lib/virtual.py:
- W292: add missing newline at end of file

pci_info.py:
- E302: add blank line before create_config_inputs()

Gentest.py:
- E225: fix missing whitespace around operators
- E302: add blank lines before function definitions
- E111/E231: fix indentation and missing spaces after commas
- W293: remove whitespace from blank lines
avocado-setup.py:
- Add module-level '# pylint: disable=E0602' to suppress all
 undefined-variable warnings for globals set via globals() pattern;
 these are intentionally set at runtime from config file

pci_info.py:
- W293: strip trailing whitespace from blank lines
- E302/E305: add required blank lines before function/class defs
- E122/E128: fix continuation line indentation
- E221: remove multiple spaces before = operator

lib/virtual.py:
- W0611: remove unused 'import platform'
@PraveenPenguin PraveenPenguin merged commit 1c70617 into master Jul 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant