Skip to content

cephadm: introduce flake8 - #39576

Closed
mgfritch wants to merge 35 commits into
ceph:masterfrom
mgfritch:cephadm-bin-flake8
Closed

mgfritch wants to merge 35 commits into
ceph:masterfrom
mgfritch:cephadm-bin-flake8

Conversation

@mgfritch

Copy link
Copy Markdown
Contributor

Adds flake8 as a linter for bin/cephadm

Signed-off-by: Michael Fritch [email protected]

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Comment thread src/cephadm/CMakeLists.txt Resolved
Comment thread src/cephadm/cephadm Outdated

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.

worth standardizing on ' or "?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm in favor of that, personally I prefer ' ..

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Signed-off-by: Michael Fritch <[email protected]>
Signed-off-by: Michael Fritch <[email protected]>
cephadm: note: In function "list_daemons":
cephadm:4532: error: List item 3 has incompatible type "List[Any]"; expected "str"
Found 1 error in 1 file (checked 1 source file)

Signed-off-by: Michael Fritch <[email protected]>
@mgfritch

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@jmolmo

jmolmo commented Mar 2, 2021

Copy link
Copy Markdown
Member

It seems that this pr can be superseded by #39699. I am wrong?

@github-actions

github-actions Bot commented Mar 2, 2021

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@mgfritch

mgfritch commented Mar 2, 2021

Copy link
Copy Markdown
Contributor Author

It seems that this pr can be superseded by #39699. I am wrong?

closing in favor of using a single PR (#39699)

@mgfritch mgfritch closed this Mar 2, 2021
@mgfritch
mgfritch deleted the cephadm-bin-flake8 branch March 2, 2021 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants