diff --git a/craft_parts/packages/platform.py b/craft_parts/packages/platform.py index 761e01b4a..ffc100280 100644 --- a/craft_parts/packages/platform.py +++ b/craft_parts/packages/platform.py @@ -1,3 +1,4 @@ +# noqa: A005 (this module shadows the stdlib platform module) # -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright 2017-2023 Canonical Ltd. diff --git a/tests/unit/packages/test_normalize.py b/tests/unit/packages/test_normalize.py index e00024fa3..3a469ee25 100644 --- a/tests/unit/packages/test_normalize.py +++ b/tests/unit/packages/test_normalize.py @@ -375,7 +375,7 @@ def test_fix_pkg_config_is_dir(self, tmpdir): @pytest.mark.parametrize( - "src,dst,result", + ("src", "dst", "result"), [ ("a", "rel-to-a", "a"), ("/a", "abs-to-a", "a"),