Skip to content

containers: Fixes for flake8 and pylint#48

Merged
nathanchance merged 4 commits into
ClangBuiltLinux:mainfrom
nathanchance:linting-fixes
Dec 7, 2022
Merged

containers: Fixes for flake8 and pylint#48
nathanchance merged 4 commits into
ClangBuiltLinux:mainfrom
nathanchance:linting-fixes

Conversation

@nathanchance

Copy link
Copy Markdown
Member

See the individual commits for the warnings.

Depends on ClangBuiltLinux/actions-workflows#4.

  ci/install-vm.py:13:21: E251 unexpected spaces around keyword / parameter equals

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
As recommended by pylint:

  ci/install-vm.py:44:16: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
  ci/install-vm.py:65:27: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
  ci/install-vm.py:72:31: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)
  ci/install-vm.py:77:8: C0209: Formatting a regular string which could be a f-string (consider-using-f-string)

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
This is a script, not a module.

  ci/install-vm.py:1:0: C0103: Module name "install-vm" doesn't conform to snake_case naming style (invalid-name)

Signed-off-by: Nathan Chancellor <nathan@kernel.org>

@compnerd compnerd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good idea - python evolution likely will help.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
@nathanchance nathanchance merged commit 03c8d60 into ClangBuiltLinux:main Dec 7, 2022
@nathanchance nathanchance deleted the linting-fixes branch December 7, 2022 21:15
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.

2 participants