diff --git a/pyproject.toml b/pyproject.toml index 8da41fd..c44b8c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,8 +39,6 @@ extend-exclude = ''' target-version = "py38" # minimum supported version line-length = 88 # same as Black. extend-exclude = [ - "__init__.py", - "__version__.py", "docs", ] @@ -124,6 +122,7 @@ split-on-trailing-comma = false "FBT", # using a boolean as a test object is useful! "PLR", # likewise using specific numbers and strings in tests. ] +"__version__.py" = ["D"] ################################################################################ diff --git a/screenpy_selenium/__init__.py b/screenpy_selenium/__init__.py index 43e4413..6599584 100644 --- a/screenpy_selenium/__init__.py +++ b/screenpy_selenium/__init__.py @@ -1,28 +1,28 @@ -# -*- coding: utf-8 -*- - # ░█▀▀▀█ █▀▀ █▀▀█ █▀▀ █▀▀ █▀▀▄ ░█▀▀█ █ █ ░█▀▀▀█ █▀▀ █ █▀▀ █▀▀▄ ▀ █ █ █▀▄▀█ # ▀▀▀▄▄ █ █▄▄▀ █▀▀ █▀▀ █ █ ░█▄▄█ █▄▄█ ▀▀▀▄▄ █▀▀ █ █▀▀ █ █ ▀█▀ █ █ █ ▀ █ # ░█▄▄▄█ ▀▀▀ ▀ ▀▀ ▀▀▀ ▀▀▀ ▀ ▀ ░█ ▄▄▄█ ░█▄▄▄█ ▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀ ▀ ▀ """ - ScreenPy Selenium + ScreenPy Selenium. + FADE IN: -INT. SITEPACKAGES DIRECTORY + +INT. SITEPACKAGES DIRECTORY. ScreenPy Selenium is an extension for ScreenPy, enabling interaction with Selenium. -:copyright: (c) 2022–2023, Perry Goy. +:copyright: (c) 2022-2024, Perry Goy. :license: MIT, see LICENSE for more details. """ from . import abilities, actions, questions, resolutions -from .abilities import * # noqa: F401, F403 -from .actions import * # noqa: F401, F403 +from .abilities import * # noqa: F403 +from .actions import * # noqa: F403 from .exceptions import BrowsingError, TargetingError from .protocols import Chainable -from .questions import * # noqa: F401, F403 -from .resolutions import * # noqa: F401, F403 +from .questions import * # noqa: F403 +from .resolutions import * # noqa: F403 from .target import Target __all__ = [ diff --git a/screenpy_selenium/__version__.py b/screenpy_selenium/__version__.py index f758839..956301e 100644 --- a/screenpy_selenium/__version__.py +++ b/screenpy_selenium/__version__.py @@ -4,9 +4,9 @@ ░█▄▄▄█ ▀▀▀ ▀ ▀▀ ▀▀▀ ▀▀▀ ▀ ▀ ░█ ▄▄▄█ ░█▄▄▄█ ▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀ ▀▀▀ ▀ ▀ """ -import importlib.metadata as importlib_metadata +import importlib.metadata -metadata = importlib_metadata.metadata("screenpy_selenium") +metadata = importlib.metadata.metadata("screenpy_selenium") __title__ = metadata["Name"] __description__ = metadata["Summary"]