Disable invalid-sequence-index (#7177)

This commit is contained in:
Fabian Affolter
2017-04-19 14:09:00 +02:00
committed by GitHub
parent a41d0aced7
commit 8ba41563c9
4 changed files with 9 additions and 4 deletions

View File

@@ -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]:
"""