diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..6a8fe74 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,12 @@ +pipeline: + test-pylint: + group: test + image: pipelinecomponents/pylint + commands: + - pylint check_pip_upgrade + + test-flake8: + group: test + image: pipelinecomponents/flake8 + commands: + - flake8 check_pip_upgrade diff --git a/check_pip_upgrade b/check_pip_upgrade index 530b88c..eb282b4 100755 --- a/check_pip_upgrade +++ b/check_pip_upgrade @@ -86,7 +86,7 @@ try: for package in json.loads(output) if not options.packages or package['name'] in options.packages ) -except Exception as exc: +except Exception as exc: # pylint: disable=broad-except print('UNKNOWN - Exception occured parsing pip output') traceback.print_exc(exc) sys.exit(STATUS['UNKNOWN'])