mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-06-24 05:35:10 +00:00
Fix some IDE warnings, mostly around type safety on the Python side
This commit is contained in:
@@ -11,14 +11,14 @@ class SIGRef:
|
||||
# SIG that this reference is in, e.g. "POTA".
|
||||
sig: str
|
||||
# Name of the reference, e.g. "Null Country Park", if known.
|
||||
name: str = None
|
||||
name: str | None = None
|
||||
# URL to look up more information about the reference, if known.
|
||||
url: str = None
|
||||
url: str | None = None
|
||||
# Latitude of the reference, if known.
|
||||
latitude: float = None
|
||||
latitude: float | None = None
|
||||
# Longitude of the reference, if known.
|
||||
longitude: float = None
|
||||
longitude: float | None = None
|
||||
# Maidenhead grid reference of the reference, if known.
|
||||
grid: str = None
|
||||
grid: str | None = None
|
||||
# Activation score. SOTA only
|
||||
activation_score: int = None
|
||||
activation_score: int | None = None
|
||||
|
||||
Reference in New Issue
Block a user