Skip to content

Commit 1b13ba2

Browse files
author
Joseph Franck
committed
update mypy file
1 parent a19431c commit 1b13ba2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

imgparse/xmp_tags.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class XMPTags:
1919
BANDNAME: str = "Camera:BandName"
2020
LRF_ALT: str = ""
2121
LRF_ALT2: str = "" # See SenteraTags below
22-
ILS: str = ""
22+
ILS: str = "Camera:SunSensor"
2323
HOMEPOINT_LAT: str = ""
2424
HOMEPOINT_LON: str = ""
2525
PRINCIPAL_POINT: str = ""
@@ -41,7 +41,6 @@ class SenteraTags(XMPTags):
4141
FOCAL_LEN = "Camera:PerspectiveFocalLength"
4242
LRF_ALT = "Sentera:AltimeterCalculatedAGL"
4343
LRF_ALT2 = "Sentera:AltimeterCalcuatedAGL" # l was left out in Quad v1.0.0
44-
ILS = "Camera:SunSensor"
4544
HOMEPOINT_LAT = "SENTERA:HomePointLatitude"
4645
HOMEPOINT_LON = "SENTERA:HomePointLongitude"
4746
PRINCIPAL_POINT = "Camera:PrincipalPoint"
@@ -59,7 +58,6 @@ class DJITags(XMPTags):
5958
YAW = "drone-dji:GimbalYawDegree"
6059
FOCAL_LEN = "drone-dji:CalibratedFocalLength"
6160
SELF_DATA = "drone-dji:SelfData"
62-
ILS = "Camera:SunSensor"
6361
IRRADIANCE = "Camera:Irradiance"
6462
CAPTURE_UUID = "drone-dji:CaptureUUID"
6563
DEWARP_FLAG = "drone-dji:DewarpFlag"

mypy.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ namespace_packages = True
44
explicit_package_bases = True
55
scripts_are_modules = True
66
strict = True
7+
warn_unused_ignores = False

0 commit comments

Comments
 (0)