mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 10:59:40 +00:00
Disable invalid-sequence-index (#7177)
This commit is contained in:
@@ -9,7 +9,6 @@ from typing import Any, Optional, Tuple, Dict
|
||||
|
||||
import requests
|
||||
|
||||
|
||||
ELEVATION_URL = 'http://maps.googleapis.com/maps/api/elevation/json'
|
||||
FREEGEO_API = 'https://freegeoip.io/json/'
|
||||
IP_API = 'http://ip-api.com/json'
|
||||
@@ -83,7 +82,7 @@ def elevation(latitude, longitude):
|
||||
# Author: https://github.com/maurycyp
|
||||
# Source: https://github.com/maurycyp/vincenty
|
||||
# License: https://github.com/maurycyp/vincenty/blob/master/LICENSE
|
||||
# pylint: disable=invalid-name, unused-variable
|
||||
# pylint: disable=invalid-name, unused-variable, invalid-sequence-index
|
||||
def vincenty(point1: Tuple[float, float], point2: Tuple[float, float],
|
||||
miles: bool=False) -> Optional[float]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user