Skip to content

Commit fdd22bb

Browse files
committed
Add missing typing.override annotation reported by Pyright
1 parent d6ea7b0 commit fdd22bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

archinstall/lib/models/mirrors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from dataclasses import dataclass, field
88
from enum import Enum
99
from pathlib import Path
10-
from typing import TYPE_CHECKING, Any
10+
from typing import TYPE_CHECKING, Any, override
1111

1212
from pydantic import BaseModel, field_validator, model_validator
1313

@@ -146,6 +146,7 @@ class MirrorRegion:
146146
def json(self) -> dict[str, list[str]]:
147147
return {self.name: self.urls}
148148

149+
@override
149150
def __eq__(self, other: object) -> bool:
150151
if not isinstance(other, MirrorRegion):
151152
return NotImplemented

0 commit comments

Comments
 (0)