From f981b68c35b021dce3d6277ef2dc2d281e4bd5a2 Mon Sep 17 00:00:00 2001 From: Tony Locke Date: Sun, 1 Sep 2024 17:01:52 +0100 Subject: [PATCH] Elements of __all__ should be strings --- src/scramp/__init__.py | 2 +- test/test_import_all.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test/test_import_all.py diff --git a/src/scramp/__init__.py b/src/scramp/__init__.py index 8bfbcd2..4d7a708 100644 --- a/src/scramp/__init__.py +++ b/src/scramp/__init__.py @@ -7,6 +7,6 @@ make_channel_binding, ) -__all__ = [ScramClient, ScramMechanism, ScramException, make_channel_binding] +__all__ = ["ScramClient", "ScramException", "ScramMechanism", "make_channel_binding"] __version__ = version("scramp") diff --git a/test/test_import_all.py b/test/test_import_all.py new file mode 100644 index 0000000..9840c8f --- /dev/null +++ b/test/test_import_all.py @@ -0,0 +1,5 @@ +from scramp import * # noqa: F403,F401 + + +def test_import_all(): + pass