Code cleaning

This commit is contained in:
Benjamin Renard 2023-07-26 00:37:55 +02:00
parent 71ecb70e9a
commit 268c522c65

View file

@ -42,7 +42,7 @@ parser.add_argument(
"--rc",
action="store_true",
dest="include_rc",
help=("Allow release candidate (default: only stable release are " "considered)"),
help="Allow release candidate (default: only stable release are considered)",
)
options = parser.parse_args()
@ -92,7 +92,7 @@ except Exception: # pylint: disable=broad-except
logging.debug("Latest version: %s", LATEST)
if not LATEST:
print("UNKNOWN - Fail to retreive latest Forgejo release from the project " "RSS feed")
print("UNKNOWN - Fail to retreive latest Forgejo release from the project RSS feed")
print(f"Current version: {CURRENT}")
sys.exit(3)