diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py index 72fa134f..9829c043 100644 --- a/packaging/pep517_backend/_backend.py +++ b/packaging/pep517_backend/_backend.py @@ -42,14 +42,12 @@ from Cython.Build.Cythonize import main as _cythonize_cli_cmd from ._compat import chdir_cm -from ._cython_configuration import ( # noqa: WPS436 - get_local_cython_config as _get_local_cython_config, -) +from ._cython_configuration import get_local_cython_config as _get_local_cython_config from ._cython_configuration import ( make_cythonize_cli_args_from_config as _make_cythonize_cli_args_from_config, ) from ._cython_configuration import patched_env as _patched_cython_env -from ._transformers import sanitize_rst_roles # noqa: WPS436 +from ._transformers import sanitize_rst_roles __all__ = ( # noqa: WPS410 'build_sdist', diff --git a/packaging/pep517_backend/_cython_configuration.py b/packaging/pep517_backend/_cython_configuration.py index 316b85fc..ef5ea391 100644 --- a/packaging/pep517_backend/_cython_configuration.py +++ b/packaging/pep517_backend/_cython_configuration.py @@ -9,11 +9,8 @@ from expandvars import expandvars -from ._compat import load_toml_from_string # noqa: WPS436 -from ._transformers import ( # noqa: WPS436 - get_cli_kwargs_from_config, - get_enabled_cli_flags_from_config, -) +from ._compat import load_toml_from_string +from ._transformers import get_cli_kwargs_from_config, get_enabled_cli_flags_from_config def get_local_cython_config() -> dict: diff --git a/packaging/pep517_backend/hooks.py b/packaging/pep517_backend/hooks.py index 5fa77fee..f8f3fb24 100644 --- a/packaging/pep517_backend/hooks.py +++ b/packaging/pep517_backend/hooks.py @@ -5,7 +5,7 @@ from setuptools.build_meta import * # Re-exporting PEP 517 hooks # pylint: disable=unused-wildcard-import,wildcard-import # noqa: E501, F401, F403 # Re-exporting PEP 517 hooks -from ._backend import ( # type: ignore[assignment] # noqa: WPS436 +from ._backend import ( # type: ignore[assignment] build_sdist, build_wheel, get_requires_for_build_wheel, @@ -14,7 +14,7 @@ with _suppress(ImportError): # Only succeeds w/ setuptools implementing PEP 660 # Re-exporting PEP 660 hooks - from ._backend import ( # type: ignore[assignment] # noqa: WPS436 + from ._backend import ( # type: ignore[assignment] build_editable, get_requires_for_build_editable, prepare_metadata_for_build_editable, diff --git a/requirements/test.txt b/requirements/test.txt index b6eeda6c..b61410ff 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -7,4 +7,4 @@ propcache==0.2.1 pytest==8.3.4 pytest-cov>=2.3.1 pytest-xdist -pytest_codspeed==3.1.0 +pytest_codspeed==3.1.1