Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemijRodionov committed Jul 5, 2019
1 parent af0d0be commit 489dbbc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shopelectro/selenium/analytics_goals.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class Goals(abc.ABC):
"""Front-end reached goalss."""
"""Front-end reached goals."""

def __init__(self, driver: SiteDriver):
self.driver = driver
Expand All @@ -24,14 +24,13 @@ def __getitem__(self, index: int):
raise NotImplementedError


class YandexEcommerceGoals(Goals):
class YandexEcommerceGoals(Goals): # Ignore PyDocStyleBear
"""
Represent reached Yandex ecommerce goals.
Unwrap an excess nesting level common for every goal:
[{"ecommerce": ...}] -> ...
Structure docs: https://yandex.com/support/metrica/data/e-commerce.html
"""

def __init__(self, driver: SiteDriver):
super().__init__(driver)
self.goals = []
Expand Down

0 comments on commit 489dbbc

Please sign in to comment.