…erators
Lint Python code for rule E225
…erators
Lint Python code for rule E225
115@@ -116,3 +116,5 @@ test/cache/*
116
117 libbitcoinconsensus.pc
118 contrib/devtools/split-debug.sh
119+
120+.idea
Lint Python code for rule E225
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
ACK 0ad199b543465f6aead05ee9014907eca36049e5
Nice to never have to think about or comment on this ever again in future code reviews thanks to this check: review automation FTW :-)
Hey everyone, I did use autopep8 for this.
From the project root directory the command I ran was:
0autopep8 --in-place --select=E225 -r .
I would be happy to add other flake8 checks if you want to this pull request.
autopep8 uses pycodestyle
https://pep8.readthedocs.io/en/latest/intro.html#error-codes
Here is the link to autopep8:
What I mean is writing the commands you were using into the commit message by scripted-diff. Then travis-ci will run the commands again to check if it is the same. So reviewers won’t have to run the commands manually on their own computer to check if the change is correct or not.
For example (Haven’t tested):
0-BEGIN VERIFY SCRIPT-
1pip3 install --user autopep8
2autopep8 --in-place --select=E225 -r .
3-END VERIFY SCRIPT-
Hey @ken2812221 thanks for explaining the process further.
Does that mean you want me to commit again with a scripted diff ?
How can we ensure other pulls don’t break master if merged after this?
+1 scripted diff.
Edit: @ken2812221 install in the script?