mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[ci] Deprecate flake8 (#8409)
* [ci] Deprecate flake8 * Addressing @villebro's comments
This commit is contained in:
committed by
Maxime Beauchemin
parent
a19990185d
commit
9fc37ea9f1
@@ -15,7 +15,9 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
"""This module contains data related to countries and is used for geo mapping"""
|
||||
countries = [
|
||||
from typing import Any, Dict, List
|
||||
|
||||
countries: List[Dict[str, Any]] = [
|
||||
{
|
||||
"name": "Angola",
|
||||
"area": 1246700,
|
||||
@@ -2488,7 +2490,7 @@ countries = [
|
||||
},
|
||||
]
|
||||
|
||||
all_lookups = {}
|
||||
all_lookups: Dict[str, Dict[str, Dict[str, Any]]] = {}
|
||||
lookups = ["cioc", "cca2", "cca3", "name"]
|
||||
for lookup in lookups:
|
||||
all_lookups[lookup] = {}
|
||||
|
||||
Reference in New Issue
Block a user