diff --git a/meta_package_manager/bar_plugin.py b/meta_package_manager/bar_plugin.py index c0fe46219..46d6b8a9c 100755 --- a/meta_package_manager/bar_plugin.py +++ b/meta_package_manager/bar_plugin.py @@ -278,7 +278,7 @@ def pp(label: str, *args: str) -> None: print( label.strip(), "|", - *(l for l in map(methodcaller("strip"), args) if l), + *(line for line in map(methodcaller("strip"), args) if line), sep=" ", ) diff --git a/meta_package_manager/tests/conftest.py b/meta_package_manager/tests/conftest.py index fef15dc36..7689b56cf 100644 --- a/meta_package_manager/tests/conftest.py +++ b/meta_package_manager/tests/conftest.py @@ -141,7 +141,7 @@ def pytest_report_header(config: Config, start_path, startdir) -> tuple[str, ... @fixture() -def invoke(extra_runner): +def invoke(extra_runner): # noqa: F811 return partial(extra_runner.invoke, mpm)