holland icon indicating copy to clipboard operation
holland copied to clipboard

Jenkins build failures - Unnecessary "else" after "raise"

Open mikegriffin opened this issue 1 year ago • 0 comments

https://github.com/holland-backup/holland/blob/master/holland/core/util/lock.py#L34 https://jenkins.hollandbackup.org/job/holland/job/master/20/execution/node/40/log/

holland/core/util/lock.py:28:8: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise) holland/core/util/lock.py:45:8: R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)

https://github.com/holland-backup/holland/blob/master/contrib/holland-commvault/holland_commvault/commvault.py#L159 https://jenkins.hollandbackup.org/job/holland/job/master/20/execution/node/41/log/

contrib/holland-commvault/holland_commvault/commvault.py:153:8: R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)

mikegriffin avatar Feb 19 '24 22:02 mikegriffin