Skip to content

Commit

Permalink
review: @tigarmo's suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Tiago Nobrega <tiago.nobrega@canonical.com>
  • Loading branch information
sergiusens and tigarmo committed Jul 13, 2023
1 parent 693429f commit 0fe8f58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion snapcraft/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class LegacyFallback(Exception):
class MaintenanceBase(SnapcraftError):
"""Error for bases under ESM and no longer supported in this release."""

def __init__(self, base) -> None:
def __init__(self, base: str) -> None:
channel: Optional[str] = None
if base == "core":
channel = "4.x"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_errors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
#
# Copyright 2022 Canonical Ltd.
# Copyright 2023 Canonical Ltd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
Expand Down

0 comments on commit 0fe8f58

Please sign in to comment.