-
Notifications
You must be signed in to change notification settings - Fork 23
Fix older periodic multinodes #1812
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
Conversation
Example outputs:
|
Well, at least it didn't fail in the same way |
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.
Your refactoring introduces many issues flagged by flake8:
.github/workflows/multinode-inputs.py:9:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:15:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:20:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:27:1: E305 expected 2 blank lines after class or function definition, found 1
.github/workflows/multinode-inputs.py:37:27: E231 missing whitespace after ','
.github/workflows/multinode-inputs.py:37:36: E231 missing whitespace after ','
.github/workflows/multinode-inputs.py:37:45: E231 missing whitespace after ','
.github/workflows/multinode-inputs.py:39:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:45:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:52:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:54:80: E501 line too long (116 > 79 characters)
.github/workflows/multinode-inputs.py:55:80: E501 line too long (92 > 79 characters)
.github/workflows/multinode-inputs.py:64:80: E501 line too long (81 > 79 characters)
.github/workflows/multinode-inputs.py:68:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:71:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:77:1: E302 expected 2 blank lines, found 1
.github/workflows/multinode-inputs.py:80:1: E305 expected 2 blank lines after class or function definition, found 1
ba97d20
to
e4bc9ea
Compare
Thanks, fixed now. Somewhat ironically, yesterday I was investigating linters for SKC, and thinking about adding one to our standard tox setup, which currently only does release notes. Didn't think to test it here though |
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.
Your oldest commit references a variable only defined in the newest one.
e4bc9ea
to
108e874
Compare
Fixed in the version I pushed. |
Includes 2 commits
The first is a minor refactor of the periodic Multinode python script (which is not required for the old periodic mn fix)
The second adds a new argument to the workflow invocation, to change the version of terraform-kayobe-multinode. The input already exists.