Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gmechali committed Jan 2, 2025
1 parent 2018252 commit af4b71e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion server/routes/place/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ def is_seo_experiment_enabled(place_dcid: str, category: str,
'geoId/56', 'geoId/04', 'geoId/41', 'geoId/20', 'geoId/37'
]
DEV_PLACE_EXPERIMENT_CONTINENT_DCIDS: List[str] = [
'northamerica', 'southamerica', 'europe', 'africa', 'asia', 'antarctica', 'oceania'
'northamerica', 'southamerica', 'europe', 'africa', 'asia', 'antarctica',
'oceania'
]
DEV_PLACE_EXPERIMENT_DCIDS: Set[str] = set(DEV_PLACE_EXPERIMENT_COUNTRY_DCIDS +
DEV_PLACE_EXPERIMENT_US_STATE_DCIDS +
Expand Down
4 changes: 2 additions & 2 deletions server/routes/shared_api/place.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ def get_i18n_name(dcids, should_resolve_all=True):
break

if not result[dcid]:
# if there is no name with language, default to name.
dcids_default_name.append(dcid)
# if there is no name with language, default to name.
dcids_default_name.append(dcid)

if dcids_default_name:
if should_resolve_all:
Expand Down

0 comments on commit af4b71e

Please sign in to comment.