Skip to content

Commit

Permalink
following established pattern from the other screenpy packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Feb 20, 2024
1 parent 8108b91 commit 34fafbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions screenpy_playwright/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
:license: MIT, see LICENSE for more details.
"""

from . import abilities, actions, protocols, questions
from . import abilities, actions, questions
from .abilities import * # noqa: F403
from .actions import * # noqa: F403
from .exceptions import TargetingError
from .protocols import * # noqa: F403
from .protocols import PageObject
from .questions import * # noqa: F403
from .target import Target

__all__ = ["Target", "TargetingError"]
__all__ = ["Target", "TargetingError", "PageObject"]

__all__ += abilities.__all__ + actions.__all__ + questions.__all__ + protocols.__all__
__all__ += abilities.__all__ + actions.__all__ + questions.__all__
3 changes: 0 additions & 3 deletions screenpy_playwright/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ class PageObject(Protocol):
"""PageObjects have a URL."""

url: str


__all__ = ["PageObject"]

0 comments on commit 34fafbb

Please sign in to comment.