Skip to content

Commit f5a3dca

Browse files
committed
making pyright happier
1 parent 951bf29 commit f5a3dca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/gardenlinux/distro_version/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from typing import Optional
2-
3-
41
class UnsupportedDistroVersion(Exception):
52
pass
63

@@ -28,6 +25,10 @@ def DistroVersion(maybe_distro_version):
2825

2926

3027
class BaseDistroVersion:
28+
major = None
29+
minor = None
30+
patch = None
31+
3132
def is_patch_release(self):
3233
return self.patch and self.patch > 0
3334

0 commit comments

Comments
 (0)