remove constant unexplained failures that don´t seem to fail#6528
remove constant unexplained failures that don´t seem to fail#6528DaanHoogland wants to merge 1 commit intoapache:mainfrom
Conversation
|
Kudos, SonarCloud Quality Gate passed! |
|
With #6531 this may not be needed if the lint is fixed, if we think it's not necessary (as travis does some lint checks too?) let's remove this indeed. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@jbampton can you comment please? i lost track of our pre-commit track record. |
|
The flake8 lint fix was here #6529 which added a single line at the end of a Python file. So the Super Linter was taking over 10 minutes to run. So in #6531 we changed the linter to just check the files in each pull request and it now takes about 2 minutes to run. Seems having a blank line at the end of a file is best practice. Flake8 is now linting for 3 rules all whitespace related shown here cloudstack/.github/linters/.flake8 Line 19 in 0cae440 Python has PEP 8 – Style Guide for Python Code and whilst you don't have to follow it, it does talk about some best practices. https://peps.python.org/pep-0008/ So this work with the Super-Linter is all about code standards. I think using I would be happy to write up some docs if needed on all this. |
|
@rohityadavcloud if @jbampton is right I'd rather disable the checks in travis as they take longer and travis has enough to do anyway. |
9bf2a60 to
8bffdb9
Compare








Description
This PR disables the SuperLinter which always claims there are failures even if there is nothing to report.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?